sneakoscope 2.0.6 → 2.0.8

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.
Files changed (79) hide show
  1. package/README.md +6 -1
  2. package/crates/sks-core/Cargo.lock +1 -1
  3. package/crates/sks-core/Cargo.toml +1 -1
  4. package/crates/sks-core/src/main.rs +1 -1
  5. package/dist/.sks-build-stamp.json +4 -4
  6. package/dist/bin/sks.js +1 -1
  7. package/dist/build-manifest.json +56 -8
  8. package/dist/core/agents/agent-command-surface.js +4 -2
  9. package/dist/core/agents/agent-orchestrator.js +140 -4
  10. package/dist/core/agents/agent-patch-schema.js +20 -4
  11. package/dist/core/agents/agent-proof-evidence.js +3 -0
  12. package/dist/core/agents/native-cli-session-swarm.js +31 -5
  13. package/dist/core/agents/native-cli-worker.js +28 -1
  14. package/dist/core/codex-control/python-codex-sdk-adapter.js +28 -4
  15. package/dist/core/commands/mad-sks-command.js +25 -0
  16. package/dist/core/commands/naruto-command.js +68 -10
  17. package/dist/core/feature-registry.js +2 -0
  18. package/dist/core/fsx.js +1 -1
  19. package/dist/core/git/git-integration-worktree.js +15 -0
  20. package/dist/core/git/git-repo-detection.js +79 -0
  21. package/dist/core/git/git-worktree-cache-policy.js +36 -0
  22. package/dist/core/git/git-worktree-capability.js +54 -0
  23. package/dist/core/git/git-worktree-cleanup.js +62 -0
  24. package/dist/core/git/git-worktree-conflict-resolver.js +13 -0
  25. package/dist/core/git/git-worktree-diff.js +55 -0
  26. package/dist/core/git/git-worktree-manager.js +93 -0
  27. package/dist/core/git/git-worktree-merge-queue.js +55 -0
  28. package/dist/core/git/git-worktree-patch-envelope.js +35 -0
  29. package/dist/core/git/git-worktree-pool.js +23 -0
  30. package/dist/core/git/git-worktree-root.js +52 -0
  31. package/dist/core/git/git-worktree-runner.js +40 -0
  32. package/dist/core/naruto/naruto-active-pool.js +35 -0
  33. package/dist/core/naruto/naruto-gpt-final-pack.js +2 -0
  34. package/dist/core/naruto/naruto-work-graph.js +16 -1
  35. package/dist/core/release/release-gate-cache-v2.js +63 -0
  36. package/dist/core/release/release-gate-dag.js +179 -0
  37. package/dist/core/release/release-gate-hermetic-env.js +32 -0
  38. package/dist/core/release/release-gate-node.js +62 -0
  39. package/dist/core/release/release-gate-report.js +11 -0
  40. package/dist/core/release/release-gate-resource-governor.js +54 -0
  41. package/dist/core/release/release-gate-scheduler.js +15 -0
  42. package/dist/core/version.js +1 -1
  43. package/dist/core/zellij/zellij-dashboard-pane.js +71 -0
  44. package/dist/core/zellij/zellij-dashboard-renderer.js +42 -0
  45. package/dist/core/zellij/zellij-naruto-dashboard.js +10 -1
  46. package/dist/core/zellij/zellij-worker-pane-manager.js +68 -6
  47. package/dist/scripts/git-worktree-cache-performance-check.js +25 -0
  48. package/dist/scripts/git-worktree-capability-check.js +27 -0
  49. package/dist/scripts/git-worktree-cleanup-check.js +27 -0
  50. package/dist/scripts/git-worktree-diff-envelope-check.js +17 -0
  51. package/dist/scripts/git-worktree-diff-export-check.js +43 -0
  52. package/dist/scripts/git-worktree-dirty-lock-check.js +17 -0
  53. package/dist/scripts/git-worktree-dirty-main-detection-check.js +14 -0
  54. package/dist/scripts/git-worktree-integration-primary-check.js +22 -0
  55. package/dist/scripts/git-worktree-manager-check.js +37 -0
  56. package/dist/scripts/git-worktree-manifest-append-check.js +18 -0
  57. package/dist/scripts/git-worktree-merge-queue-check.js +30 -0
  58. package/dist/scripts/git-worktree-pool-performance-check.js +20 -0
  59. package/dist/scripts/git-worktree-untracked-diff-check.js +18 -0
  60. package/dist/scripts/lib/git-worktree-fixture.js +33 -0
  61. package/dist/scripts/naruto-shadow-clone-swarm-check.js +9 -5
  62. package/dist/scripts/naruto-worktree-coding-blackbox.js +29 -0
  63. package/dist/scripts/naruto-worktree-coding-check.js +44 -0
  64. package/dist/scripts/naruto-worktree-gpt-final-check.js +45 -0
  65. package/dist/scripts/naruto-worktree-zellij-ui-check.js +28 -0
  66. package/dist/scripts/release-gate-dag-runner-check.js +17 -0
  67. package/dist/scripts/release-gate-dag-runner.js +32 -0
  68. package/dist/scripts/release-gate-worker.js +10 -0
  69. package/dist/scripts/release-metadata-1-19-check.js +8 -2
  70. package/dist/scripts/release-parallel-check.js +1 -1
  71. package/dist/scripts/release-parallel-speed-budget-check.js +25 -0
  72. package/dist/scripts/release-stability-report-check.js +99 -0
  73. package/dist/scripts/zellij-dashboard-pane-check.js +68 -0
  74. package/dist/scripts/zellij-dashboard-watch.js +41 -0
  75. package/dist/scripts/zellij-worker-pane-real-ui-blackbox.js +185 -0
  76. package/package.json +33 -5
  77. package/schemas/git/git-worktree-capability.schema.json +19 -0
  78. package/schemas/git/git-worktree-manifest.schema.json +36 -0
  79. package/schemas/release/release-gate-node.schema.json +52 -0
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.git-worktree-capability.v1",
4
+ "type": "object",
5
+ "required": ["schema", "ok", "mode", "is_git_repo", "worktree_supported", "worktree_probe_attempted", "blockers"],
6
+ "properties": {
7
+ "schema": { "const": "sks.git-worktree-capability.v1" },
8
+ "ok": { "type": "boolean" },
9
+ "mode": { "enum": ["git-worktree", "patch-envelope-only"] },
10
+ "require_git_worktree": { "type": "boolean" },
11
+ "git_available": { "type": "boolean" },
12
+ "is_git_repo": { "type": "boolean" },
13
+ "worktree_supported": { "type": "boolean" },
14
+ "worktree_probe_attempted": { "type": "boolean" },
15
+ "detection": { "type": "object" },
16
+ "root_resolution": { "type": ["object", "null"] },
17
+ "blockers": { "type": "array", "items": { "type": "string" } }
18
+ }
19
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sks.git-worktree-manifest.v1",
4
+ "type": "object",
5
+ "required": ["schema", "mission_id", "repo_root", "root", "allocations"],
6
+ "properties": {
7
+ "schema": { "const": "sks.git-worktree-manifest.v1" },
8
+ "updated_at": { "type": "string" },
9
+ "mission_id": { "type": "string" },
10
+ "repo_root": { "type": "string" },
11
+ "root": { "type": "string" },
12
+ "allocations": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "object",
16
+ "required": ["schema", "ok", "mission_id", "worker_id", "worktree_path", "branch", "base_ref", "blockers"],
17
+ "properties": {
18
+ "schema": { "const": "sks.git-worktree-allocation.v1" },
19
+ "ok": { "type": "boolean" },
20
+ "mission_id": { "type": "string" },
21
+ "worker_id": { "type": "string" },
22
+ "slot_id": { "type": "string" },
23
+ "generation_index": { "type": "number" },
24
+ "repo_root": { "type": "string" },
25
+ "main_repo_root": { "type": "string" },
26
+ "worktree_path": { "type": "string" },
27
+ "branch": { "type": "string" },
28
+ "base_ref": { "type": "string" },
29
+ "base_head": { "type": ["string", "null"] },
30
+ "manifest_path": { "type": "string" },
31
+ "blockers": { "type": "array", "items": { "type": "string" } }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://sneakoscope.local/schemas/release/release-gate-node.schema.json",
4
+ "type": "object",
5
+ "required": ["schema", "gates"],
6
+ "properties": {
7
+ "schema": { "const": "sks.release-gates.v2" },
8
+ "gates": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "required": ["id", "command", "deps", "resource", "side_effect", "timeout_ms", "cache", "isolation", "preset"],
13
+ "properties": {
14
+ "id": { "type": "string", "minLength": 1 },
15
+ "command": { "type": "string", "minLength": 1 },
16
+ "deps": { "type": "array", "items": { "type": "string" } },
17
+ "resource": {
18
+ "type": "array",
19
+ "minItems": 1,
20
+ "items": {
21
+ "enum": ["cpu-light", "cpu-heavy", "io-light", "io-heavy", "git", "git-worktree", "zellij-real", "local-llm-real", "remote-model-real", "python", "network", "global-config", "publish", "fs-read"]
22
+ }
23
+ },
24
+ "side_effect": { "enum": ["hermetic", "real-env"] },
25
+ "timeout_ms": { "type": "integer", "minimum": 1 },
26
+ "cache": {
27
+ "type": "object",
28
+ "required": ["enabled", "inputs"],
29
+ "properties": {
30
+ "enabled": { "type": "boolean" },
31
+ "inputs": { "type": "array", "items": { "type": "string" } }
32
+ },
33
+ "additionalProperties": false
34
+ },
35
+ "isolation": {
36
+ "type": "object",
37
+ "required": ["home", "codex_home", "report_dir"],
38
+ "properties": {
39
+ "home": { "enum": ["temp", "inherit"] },
40
+ "codex_home": { "enum": ["temp", "inherit"] },
41
+ "report_dir": { "const": "per-gate" }
42
+ },
43
+ "additionalProperties": false
44
+ },
45
+ "preset": { "type": "array", "items": { "type": "string" } }
46
+ },
47
+ "additionalProperties": false
48
+ }
49
+ }
50
+ },
51
+ "additionalProperties": false
52
+ }