sneakoscope 2.0.13 → 2.0.14

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 (61) hide show
  1. package/README.md +2 -2
  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/core/agents/agent-orchestrator.js +11 -4
  8. package/dist/core/agents/agent-output-validator.js +1 -1
  9. package/dist/core/codex-control/codex-fake-sdk-adapter.js +3 -3
  10. package/dist/core/codex-control/gpt-final-review-schema.js +61 -14
  11. package/dist/core/commands/naruto-command.js +1 -0
  12. package/dist/core/commands/research-command.js +71 -17
  13. package/dist/core/fsx.js +1 -1
  14. package/dist/core/naruto/naruto-real-worker-child.js +11 -3
  15. package/dist/core/naruto/naruto-real-worker-runtime.js +4 -0
  16. package/dist/core/pipeline/final-gpt-patch-stage.js +20 -3
  17. package/dist/core/research/implementation-blueprint-densifier.js +124 -0
  18. package/dist/core/research/research-claim-builder.js +114 -0
  19. package/dist/core/research/research-cycle-runner.js +115 -11
  20. package/dist/core/research/research-final-reviewer.js +155 -1
  21. package/dist/core/research/research-source-ledger-merge.js +186 -0
  22. package/dist/core/research/research-source-shards.js +176 -0
  23. package/dist/core/research/research-stage-runner.js +510 -11
  24. package/dist/core/research/research-work-graph.js +114 -23
  25. package/dist/core/research.js +12 -0
  26. package/dist/core/version.js +1 -1
  27. package/dist/scripts/codex-sdk-research-pipeline-check.js +40 -8
  28. package/dist/scripts/release-dag-full-coverage-check.js +14 -1
  29. package/dist/scripts/release-parallel-speed-budget-check.js +7 -2
  30. package/dist/scripts/research-blueprint-densifier-check.js +21 -0
  31. package/dist/scripts/research-claim-builder-check.js +19 -0
  32. package/dist/scripts/research-complete-package-fixture-check.js +23 -0
  33. package/dist/scripts/research-final-reviewer-blackbox.js +22 -0
  34. package/dist/scripts/research-parallel-source-shards-check.js +22 -0
  35. package/dist/scripts/research-quality-gate-check.js +28 -3
  36. package/dist/scripts/research-real-cycle-no-legacy-final-md-check.js +14 -0
  37. package/dist/scripts/research-short-report-rejection-check.js +46 -0
  38. package/dist/scripts/research-source-ledger-merge-check.js +26 -0
  39. package/dist/scripts/research-stage-cycle-runtime-blackbox.js +24 -0
  40. package/package.json +16 -1
  41. package/schemas/codex/agent-result.schema.json +1 -1
  42. package/schemas/research/research-source-shard.schema.json +46 -0
  43. package/dist/build-manifest.json +0 -1184
  44. package/dist/scripts/release-readiness-report.js +0 -1146
  45. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.input.schema.json +0 -61
  46. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/permission-request.command.output.schema.json +0 -103
  47. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-compact.command.input.schema.json +0 -52
  48. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-compact.command.output.schema.json +0 -24
  49. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.input.schema.json +0 -67
  50. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/post-tool-use.command.output.schema.json +0 -84
  51. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-compact.command.input.schema.json +0 -52
  52. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-compact.command.output.schema.json +0 -24
  53. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-tool-use.command.input.schema.json +0 -65
  54. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/pre-tool-use.command.output.schema.json +0 -105
  55. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/session-start.command.input.schema.json +0 -59
  56. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/session-start.command.output.schema.json +0 -63
  57. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/snapshot-metadata.json +0 -31
  58. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/stop.command.input.schema.json +0 -63
  59. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/stop.command.output.schema.json +0 -45
  60. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/user-prompt-submit.command.input.schema.json +0 -59
  61. package/dist/vendor/openai-codex/rust-v0.131.0/hooks/user-prompt-submit.command.output.schema.json +0 -81
@@ -1,61 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "PermissionRequest",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "permission_mode": {
24
- "enum": [
25
- "default",
26
- "acceptEdits",
27
- "plan",
28
- "dontAsk",
29
- "bypassPermissions"
30
- ],
31
- "type": "string"
32
- },
33
- "session_id": {
34
- "type": "string"
35
- },
36
- "tool_input": true,
37
- "tool_name": {
38
- "type": "string"
39
- },
40
- "transcript_path": {
41
- "$ref": "#/definitions/NullableString"
42
- },
43
- "turn_id": {
44
- "description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
45
- "type": "string"
46
- }
47
- },
48
- "required": [
49
- "cwd",
50
- "hook_event_name",
51
- "model",
52
- "permission_mode",
53
- "session_id",
54
- "tool_input",
55
- "tool_name",
56
- "transcript_path",
57
- "turn_id"
58
- ],
59
- "title": "permission-request.command.input",
60
- "type": "object"
61
- }
@@ -1,103 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "Stop"
15
- ],
16
- "type": "string"
17
- },
18
- "PermissionRequestBehaviorWire": {
19
- "enum": [
20
- "allow",
21
- "deny"
22
- ],
23
- "type": "string"
24
- },
25
- "PermissionRequestDecisionWire": {
26
- "additionalProperties": false,
27
- "properties": {
28
- "behavior": {
29
- "$ref": "#/definitions/PermissionRequestBehaviorWire"
30
- },
31
- "interrupt": {
32
- "default": false,
33
- "description": "Reserved for future short-circuiting semantics.\n\nPermissionRequest hooks currently fail closed if this field is `true`.",
34
- "type": "boolean"
35
- },
36
- "message": {
37
- "default": null,
38
- "type": "string"
39
- },
40
- "updatedInput": {
41
- "default": null,
42
- "description": "Reserved for a future input-rewrite capability.\n\nPermissionRequest hooks currently fail closed if this field is present."
43
- },
44
- "updatedPermissions": {
45
- "default": null,
46
- "description": "Reserved for a future permission-rewrite capability.\n\nPermissionRequest hooks currently fail closed if this field is present."
47
- }
48
- },
49
- "required": [
50
- "behavior"
51
- ],
52
- "type": "object"
53
- },
54
- "PermissionRequestHookSpecificOutputWire": {
55
- "additionalProperties": false,
56
- "properties": {
57
- "decision": {
58
- "allOf": [
59
- {
60
- "$ref": "#/definitions/PermissionRequestDecisionWire"
61
- }
62
- ],
63
- "default": null
64
- },
65
- "hookEventName": {
66
- "$ref": "#/definitions/HookEventNameWire"
67
- }
68
- },
69
- "required": [
70
- "hookEventName"
71
- ],
72
- "type": "object"
73
- }
74
- },
75
- "properties": {
76
- "continue": {
77
- "default": true,
78
- "type": "boolean"
79
- },
80
- "hookSpecificOutput": {
81
- "allOf": [
82
- {
83
- "$ref": "#/definitions/PermissionRequestHookSpecificOutputWire"
84
- }
85
- ],
86
- "default": null
87
- },
88
- "stopReason": {
89
- "default": null,
90
- "type": "string"
91
- },
92
- "suppressOutput": {
93
- "default": false,
94
- "type": "boolean"
95
- },
96
- "systemMessage": {
97
- "default": null,
98
- "type": "string"
99
- }
100
- },
101
- "title": "permission-request.command.output",
102
- "type": "object"
103
- }
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "PostCompact",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "session_id": {
24
- "type": "string"
25
- },
26
- "transcript_path": {
27
- "$ref": "#/definitions/NullableString"
28
- },
29
- "trigger": {
30
- "enum": [
31
- "manual",
32
- "auto"
33
- ],
34
- "type": "string"
35
- },
36
- "turn_id": {
37
- "description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
38
- "type": "string"
39
- }
40
- },
41
- "required": [
42
- "cwd",
43
- "hook_event_name",
44
- "model",
45
- "session_id",
46
- "transcript_path",
47
- "trigger",
48
- "turn_id"
49
- ],
50
- "title": "post-compact.command.input",
51
- "type": "object"
52
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "properties": {
5
- "continue": {
6
- "default": true,
7
- "type": "boolean"
8
- },
9
- "stopReason": {
10
- "default": null,
11
- "type": "string"
12
- },
13
- "suppressOutput": {
14
- "default": false,
15
- "type": "boolean"
16
- },
17
- "systemMessage": {
18
- "default": null,
19
- "type": "string"
20
- }
21
- },
22
- "title": "post-compact.command.output",
23
- "type": "object"
24
- }
@@ -1,67 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "PostToolUse",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "permission_mode": {
24
- "enum": [
25
- "default",
26
- "acceptEdits",
27
- "plan",
28
- "dontAsk",
29
- "bypassPermissions"
30
- ],
31
- "type": "string"
32
- },
33
- "session_id": {
34
- "type": "string"
35
- },
36
- "tool_input": true,
37
- "tool_name": {
38
- "type": "string"
39
- },
40
- "tool_response": true,
41
- "tool_use_id": {
42
- "type": "string"
43
- },
44
- "transcript_path": {
45
- "$ref": "#/definitions/NullableString"
46
- },
47
- "turn_id": {
48
- "description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
49
- "type": "string"
50
- }
51
- },
52
- "required": [
53
- "cwd",
54
- "hook_event_name",
55
- "model",
56
- "permission_mode",
57
- "session_id",
58
- "tool_input",
59
- "tool_name",
60
- "tool_response",
61
- "tool_use_id",
62
- "transcript_path",
63
- "turn_id"
64
- ],
65
- "title": "post-tool-use.command.input",
66
- "type": "object"
67
- }
@@ -1,84 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "BlockDecisionWire": {
6
- "enum": [
7
- "block"
8
- ],
9
- "type": "string"
10
- },
11
- "HookEventNameWire": {
12
- "enum": [
13
- "PreToolUse",
14
- "PermissionRequest",
15
- "PostToolUse",
16
- "PreCompact",
17
- "PostCompact",
18
- "SessionStart",
19
- "UserPromptSubmit",
20
- "Stop"
21
- ],
22
- "type": "string"
23
- },
24
- "PostToolUseHookSpecificOutputWire": {
25
- "additionalProperties": false,
26
- "properties": {
27
- "additionalContext": {
28
- "default": null,
29
- "type": "string"
30
- },
31
- "hookEventName": {
32
- "$ref": "#/definitions/HookEventNameWire"
33
- },
34
- "updatedMCPToolOutput": {
35
- "default": null
36
- }
37
- },
38
- "required": [
39
- "hookEventName"
40
- ],
41
- "type": "object"
42
- }
43
- },
44
- "properties": {
45
- "continue": {
46
- "default": true,
47
- "type": "boolean"
48
- },
49
- "decision": {
50
- "allOf": [
51
- {
52
- "$ref": "#/definitions/BlockDecisionWire"
53
- }
54
- ],
55
- "default": null
56
- },
57
- "hookSpecificOutput": {
58
- "allOf": [
59
- {
60
- "$ref": "#/definitions/PostToolUseHookSpecificOutputWire"
61
- }
62
- ],
63
- "default": null
64
- },
65
- "reason": {
66
- "default": null,
67
- "type": "string"
68
- },
69
- "stopReason": {
70
- "default": null,
71
- "type": "string"
72
- },
73
- "suppressOutput": {
74
- "default": false,
75
- "type": "boolean"
76
- },
77
- "systemMessage": {
78
- "default": null,
79
- "type": "string"
80
- }
81
- },
82
- "title": "post-tool-use.command.output",
83
- "type": "object"
84
- }
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "PreCompact",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "session_id": {
24
- "type": "string"
25
- },
26
- "transcript_path": {
27
- "$ref": "#/definitions/NullableString"
28
- },
29
- "trigger": {
30
- "enum": [
31
- "manual",
32
- "auto"
33
- ],
34
- "type": "string"
35
- },
36
- "turn_id": {
37
- "description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
38
- "type": "string"
39
- }
40
- },
41
- "required": [
42
- "cwd",
43
- "hook_event_name",
44
- "model",
45
- "session_id",
46
- "transcript_path",
47
- "trigger",
48
- "turn_id"
49
- ],
50
- "title": "pre-compact.command.input",
51
- "type": "object"
52
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "properties": {
5
- "continue": {
6
- "default": true,
7
- "type": "boolean"
8
- },
9
- "stopReason": {
10
- "default": null,
11
- "type": "string"
12
- },
13
- "suppressOutput": {
14
- "default": false,
15
- "type": "boolean"
16
- },
17
- "systemMessage": {
18
- "default": null,
19
- "type": "string"
20
- }
21
- },
22
- "title": "pre-compact.command.output",
23
- "type": "object"
24
- }
@@ -1,65 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "PreToolUse",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "permission_mode": {
24
- "enum": [
25
- "default",
26
- "acceptEdits",
27
- "plan",
28
- "dontAsk",
29
- "bypassPermissions"
30
- ],
31
- "type": "string"
32
- },
33
- "session_id": {
34
- "type": "string"
35
- },
36
- "tool_input": true,
37
- "tool_name": {
38
- "type": "string"
39
- },
40
- "tool_use_id": {
41
- "type": "string"
42
- },
43
- "transcript_path": {
44
- "$ref": "#/definitions/NullableString"
45
- },
46
- "turn_id": {
47
- "description": "Codex extension: expose the active turn id to internal turn-scoped hooks.",
48
- "type": "string"
49
- }
50
- },
51
- "required": [
52
- "cwd",
53
- "hook_event_name",
54
- "model",
55
- "permission_mode",
56
- "session_id",
57
- "tool_input",
58
- "tool_name",
59
- "tool_use_id",
60
- "transcript_path",
61
- "turn_id"
62
- ],
63
- "title": "pre-tool-use.command.input",
64
- "type": "object"
65
- }
@@ -1,105 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "HookEventNameWire": {
6
- "enum": [
7
- "PreToolUse",
8
- "PermissionRequest",
9
- "PostToolUse",
10
- "PreCompact",
11
- "PostCompact",
12
- "SessionStart",
13
- "UserPromptSubmit",
14
- "Stop"
15
- ],
16
- "type": "string"
17
- },
18
- "PreToolUseDecisionWire": {
19
- "enum": [
20
- "approve",
21
- "block"
22
- ],
23
- "type": "string"
24
- },
25
- "PreToolUseHookSpecificOutputWire": {
26
- "additionalProperties": false,
27
- "properties": {
28
- "additionalContext": {
29
- "default": null,
30
- "type": "string"
31
- },
32
- "hookEventName": {
33
- "$ref": "#/definitions/HookEventNameWire"
34
- },
35
- "permissionDecision": {
36
- "allOf": [
37
- {
38
- "$ref": "#/definitions/PreToolUsePermissionDecisionWire"
39
- }
40
- ],
41
- "default": null
42
- },
43
- "permissionDecisionReason": {
44
- "default": null,
45
- "type": "string"
46
- },
47
- "updatedInput": {
48
- "default": null
49
- }
50
- },
51
- "required": [
52
- "hookEventName"
53
- ],
54
- "type": "object"
55
- },
56
- "PreToolUsePermissionDecisionWire": {
57
- "enum": [
58
- "allow",
59
- "deny",
60
- "ask"
61
- ],
62
- "type": "string"
63
- }
64
- },
65
- "properties": {
66
- "continue": {
67
- "default": true,
68
- "type": "boolean"
69
- },
70
- "decision": {
71
- "allOf": [
72
- {
73
- "$ref": "#/definitions/PreToolUseDecisionWire"
74
- }
75
- ],
76
- "default": null
77
- },
78
- "hookSpecificOutput": {
79
- "allOf": [
80
- {
81
- "$ref": "#/definitions/PreToolUseHookSpecificOutputWire"
82
- }
83
- ],
84
- "default": null
85
- },
86
- "reason": {
87
- "default": null,
88
- "type": "string"
89
- },
90
- "stopReason": {
91
- "default": null,
92
- "type": "string"
93
- },
94
- "suppressOutput": {
95
- "default": false,
96
- "type": "boolean"
97
- },
98
- "systemMessage": {
99
- "default": null,
100
- "type": "string"
101
- }
102
- },
103
- "title": "pre-tool-use.command.output",
104
- "type": "object"
105
- }
@@ -1,59 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "additionalProperties": false,
4
- "definitions": {
5
- "NullableString": {
6
- "type": [
7
- "string",
8
- "null"
9
- ]
10
- }
11
- },
12
- "properties": {
13
- "cwd": {
14
- "type": "string"
15
- },
16
- "hook_event_name": {
17
- "const": "SessionStart",
18
- "type": "string"
19
- },
20
- "model": {
21
- "type": "string"
22
- },
23
- "permission_mode": {
24
- "enum": [
25
- "default",
26
- "acceptEdits",
27
- "plan",
28
- "dontAsk",
29
- "bypassPermissions"
30
- ],
31
- "type": "string"
32
- },
33
- "session_id": {
34
- "type": "string"
35
- },
36
- "source": {
37
- "enum": [
38
- "startup",
39
- "resume",
40
- "clear"
41
- ],
42
- "type": "string"
43
- },
44
- "transcript_path": {
45
- "$ref": "#/definitions/NullableString"
46
- }
47
- },
48
- "required": [
49
- "cwd",
50
- "hook_event_name",
51
- "model",
52
- "permission_mode",
53
- "session_id",
54
- "source",
55
- "transcript_path"
56
- ],
57
- "title": "session-start.command.input",
58
- "type": "object"
59
- }