sneakoscope 2.0.16 → 2.0.18
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 +23 -30
- 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 +1 -1
- package/dist/cli/command-registry.js +1 -1
- package/dist/commands/doctor.js +39 -1
- package/dist/commands/proof.js +21 -0
- package/dist/commands/zellij-slot-pane.js +7 -1
- package/dist/core/agents/agent-effort-policy.js +7 -1
- package/dist/core/agents/agent-orchestrator.js +3 -1
- package/dist/core/agents/agent-scheduler.js +14 -1
- package/dist/core/agents/native-cli-session-swarm.js +11 -7
- package/dist/core/agents/native-cli-worker.js +56 -7
- package/dist/core/agents/parallel-runtime-proof.js +68 -9
- package/dist/core/agents/runtime-proof-summary.js +75 -0
- package/dist/core/codex-app/codex-app-handoff.js +77 -0
- package/dist/core/codex-control/codex-0138-capability.js +64 -0
- package/dist/core/codex-control/codex-model-capabilities.js +41 -0
- package/dist/core/codex-control/codex-sdk-config-policy.js +1 -1
- package/dist/core/codex-control/codex-task-runner.js +1 -1
- package/dist/core/codex-plugins/codex-plugin-json.js +152 -0
- package/dist/core/commands/mad-sks-command.js +4 -0
- package/dist/core/commands/naruto-command.js +20 -4
- package/dist/core/commands/qa-loop-command.js +111 -4
- package/dist/core/commands/team-command.js +6 -311
- package/dist/core/commands/team-legacy-observe-command.js +182 -0
- package/dist/core/db-safety.js +15 -0
- package/dist/core/doctor/codex-0138-doctor.js +104 -0
- package/dist/core/doctor/doctor-readiness-matrix.js +11 -0
- package/dist/core/effort-orchestrator.js +9 -0
- package/dist/core/feature-registry.js +4 -2
- package/dist/core/fsx.js +1 -1
- package/dist/core/hooks-runtime.js +38 -4
- package/dist/core/image/image-artifact-path-contract.js +99 -0
- package/dist/core/image-ux-review/imagegen-adapter.js +24 -3
- package/dist/core/init.js +1 -0
- package/dist/core/mad-db/mad-db-capability.js +9 -1
- package/dist/core/mad-db/mad-db-result-lifecycle.js +207 -0
- package/dist/core/mcp/mcp-plugin-inventory.js +29 -0
- package/dist/core/mcp/mcp-server-policy.js +24 -0
- package/dist/core/qa-loop/qa-loop-budget-policy.js +37 -0
- package/dist/core/qa-loop.js +28 -2
- package/dist/core/release/release-gate-affected-selector.js +47 -5
- package/dist/core/release/release-gate-dag.js +5 -1
- package/dist/core/release/release-gate-scheduler.js +2 -1
- package/dist/core/routes.js +3 -1
- package/dist/core/usage/codex-account-usage.js +78 -0
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-slot-column-anchor.js +16 -7
- package/dist/core/zellij/zellij-slot-pane-renderer.js +92 -1
- package/dist/core/zellij/zellij-slot-telemetry.js +29 -6
- package/dist/core/zellij/zellij-ui-mode.js +12 -2
- package/dist/scripts/prepublish-release-check-or-fast.js +3 -3
- package/dist/scripts/release-gate-existence-audit.js +5 -1
- package/dist/scripts/release-speed-summary.js +22 -2
- package/package.json +38 -4
- package/schemas/agents/parallel-runtime-proof.schema.json +31 -0
- package/schemas/codex-app/codex-app-handoff.schema.json +20 -0
- package/schemas/codex-plugins/codex-plugin-inventory.schema.json +32 -0
- package/schemas/image/image-artifact-path-contract.schema.json +32 -0
- package/schemas/usage/codex-account-usage.schema.json +27 -0
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
"schema",
|
|
7
7
|
"mission_id",
|
|
8
8
|
"generated_at",
|
|
9
|
+
"proof_mode",
|
|
10
|
+
"require_worker_pids",
|
|
11
|
+
"allow_missing_pids",
|
|
9
12
|
"requested_workers",
|
|
10
13
|
"target_active_slots",
|
|
11
14
|
"max_observed_active_workers",
|
|
@@ -19,6 +22,7 @@
|
|
|
19
22
|
"overlap_windows",
|
|
20
23
|
"visible_panes",
|
|
21
24
|
"headless_workers",
|
|
25
|
+
"utilization_proof_consistency",
|
|
22
26
|
"passed",
|
|
23
27
|
"blockers"
|
|
24
28
|
],
|
|
@@ -26,6 +30,9 @@
|
|
|
26
30
|
"schema": { "const": "sks.parallel-runtime-proof.v1" },
|
|
27
31
|
"mission_id": { "type": "string", "minLength": 1 },
|
|
28
32
|
"generated_at": { "type": "string" },
|
|
33
|
+
"proof_mode": { "enum": ["production", "mock-process", "in-process-fixture"] },
|
|
34
|
+
"require_worker_pids": { "type": "boolean" },
|
|
35
|
+
"allow_missing_pids": { "type": "boolean" },
|
|
29
36
|
"requested_workers": { "type": "integer", "minimum": 1 },
|
|
30
37
|
"target_active_slots": { "type": "integer", "minimum": 1 },
|
|
31
38
|
"max_observed_active_workers": { "type": "integer", "minimum": 0 },
|
|
@@ -41,6 +48,30 @@
|
|
|
41
48
|
"overlap_windows": { "type": "array" },
|
|
42
49
|
"visible_panes": { "type": "integer", "minimum": 0 },
|
|
43
50
|
"headless_workers": { "type": "integer", "minimum": 0 },
|
|
51
|
+
"utilization_proof_consistency": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"required": [
|
|
54
|
+
"ok",
|
|
55
|
+
"scheduler_max_active",
|
|
56
|
+
"proof_max_active",
|
|
57
|
+
"wall_ms_delta",
|
|
58
|
+
"scheduler_active_slot_time_ms",
|
|
59
|
+
"proof_active_slot_time_ms",
|
|
60
|
+
"active_slot_time_ms_delta",
|
|
61
|
+
"scheduler_observation_delay_tolerance_ms"
|
|
62
|
+
],
|
|
63
|
+
"properties": {
|
|
64
|
+
"ok": { "type": "boolean" },
|
|
65
|
+
"scheduler_max_active": { "type": "integer", "minimum": 0 },
|
|
66
|
+
"proof_max_active": { "type": "integer", "minimum": 0 },
|
|
67
|
+
"wall_ms_delta": { "type": "number", "minimum": 0 },
|
|
68
|
+
"scheduler_active_slot_time_ms": { "type": "number", "minimum": 0 },
|
|
69
|
+
"proof_active_slot_time_ms": { "type": "number", "minimum": 0 },
|
|
70
|
+
"active_slot_time_ms_delta": { "type": "number", "minimum": 0 },
|
|
71
|
+
"scheduler_observation_delay_tolerance_ms": { "type": "number", "minimum": 0 }
|
|
72
|
+
},
|
|
73
|
+
"additionalProperties": true
|
|
74
|
+
},
|
|
44
75
|
"passed": { "type": "boolean" },
|
|
45
76
|
"blockers": { "type": "array", "items": { "type": "string" } }
|
|
46
77
|
},
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/codex-app/codex-app-handoff.schema.json",
|
|
4
|
+
"title": "SKS Codex App Handoff",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "ok", "status", "desktop_handoff_supported", "artifact_path", "prompt_artifact_path"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.codex-app-handoff-result.v1" },
|
|
9
|
+
"ok": { "type": "boolean" },
|
|
10
|
+
"attempted": { "type": "boolean" },
|
|
11
|
+
"launched": { "type": "boolean" },
|
|
12
|
+
"status": { "enum": ["pending", "skipped", "blocked_for_desktop_review"] },
|
|
13
|
+
"desktop_handoff_supported": { "type": "boolean" },
|
|
14
|
+
"artifact_path": { "type": "string", "minLength": 1 },
|
|
15
|
+
"prompt_artifact_path": { "type": "string", "minLength": 1 },
|
|
16
|
+
"blockers": { "type": "array", "items": { "type": "string" } },
|
|
17
|
+
"request": { "type": "object" }
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": true
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/codex-plugins/codex-plugin-inventory.schema.json",
|
|
4
|
+
"title": "SKS Codex Plugin Inventory",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "plugins", "marketplace_available", "blockers"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.codex-plugin-inventory.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"marketplace_available": { "type": "boolean" },
|
|
11
|
+
"plugins": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["id", "name", "source", "installed", "enabled", "default_prompts", "remote_mcp_servers", "unavailable_app_templates"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"id": { "type": "string", "minLength": 1 },
|
|
18
|
+
"name": { "type": "string" },
|
|
19
|
+
"source": { "enum": ["marketplace", "local", "remote", "unknown"] },
|
|
20
|
+
"installed": { "type": "boolean" },
|
|
21
|
+
"enabled": { "type": "boolean" },
|
|
22
|
+
"default_prompts": { "type": "array", "items": { "type": "string" } },
|
|
23
|
+
"remote_mcp_servers": { "type": "array", "items": { "type": "object" } },
|
|
24
|
+
"unavailable_app_templates": { "type": "array", "items": { "type": "string" } }
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": true
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"blockers": { "type": "array", "items": { "type": "string" } }
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": true
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/image/image-artifact-path-contract.schema.json",
|
|
4
|
+
"title": "SKS Image Artifact Path Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "mission_id", "generated_at", "images", "blockers"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.image-artifact-path-contract.v1" },
|
|
9
|
+
"mission_id": { "type": "string", "minLength": 1 },
|
|
10
|
+
"generated_at": { "type": "string" },
|
|
11
|
+
"images": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["id", "kind", "file_path", "relative_path", "exists", "model_visible_path", "followup_edit_hint"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"id": { "type": "string", "minLength": 1 },
|
|
18
|
+
"kind": { "enum": ["input_attachment", "generated_image", "edited_image", "visual_qa_snapshot"] },
|
|
19
|
+
"file_path": { "type": "string", "minLength": 1 },
|
|
20
|
+
"relative_path": { "type": "string" },
|
|
21
|
+
"exists": { "type": "boolean" },
|
|
22
|
+
"mime_type": { "type": ["string", "null"] },
|
|
23
|
+
"model_visible_path": { "type": "string", "minLength": 1 },
|
|
24
|
+
"followup_edit_hint": { "type": "string", "minLength": 1 }
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": true
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"blockers": { "type": "array", "items": { "type": "string" } }
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": true
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/usage/codex-account-usage.schema.json",
|
|
4
|
+
"title": "SKS Codex Account Usage",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "ok", "source", "blockers"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.codex-account-usage.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"ok": { "type": "boolean" },
|
|
11
|
+
"source": { "enum": ["app-server", "unavailable", "fake"] },
|
|
12
|
+
"account_id": { "type": ["string", "null"] },
|
|
13
|
+
"token_usage": {
|
|
14
|
+
"type": ["object", "null"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"input_tokens": { "type": "number" },
|
|
17
|
+
"output_tokens": { "type": "number" },
|
|
18
|
+
"total_tokens": { "type": "number" },
|
|
19
|
+
"reset_at": { "type": ["string", "null"] }
|
|
20
|
+
},
|
|
21
|
+
"additionalProperties": true
|
|
22
|
+
},
|
|
23
|
+
"usage_limit_tokens": { "type": ["number", "null"] },
|
|
24
|
+
"blockers": { "type": "array", "items": { "type": "string" } }
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": true
|
|
27
|
+
}
|