sneakoscope 2.0.12 → 2.0.13
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 +5 -1
- 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/build-manifest.json +24 -8
- package/dist/core/codex-control/codex-sdk-adapter.js +10 -0
- package/dist/core/codex-control/codex-task-runner.js +4 -2
- package/dist/core/commands/research-command.js +43 -4
- package/dist/core/fsx.js +1 -1
- package/dist/core/research/claim-evidence-matrix.js +160 -0
- package/dist/core/research/experiment-plan.js +53 -0
- package/dist/core/research/falsification.js +18 -0
- package/dist/core/research/implementation-blueprint-markdown.js +31 -0
- package/dist/core/research/implementation-blueprint.js +66 -0
- package/dist/core/research/replication-pack.js +50 -0
- package/dist/core/research/research-cycle-runner.js +25 -0
- package/dist/core/research/research-final-reviewer.js +58 -0
- package/dist/core/research/research-handoff.js +51 -0
- package/dist/core/research/research-prompt-contract.js +24 -0
- package/dist/core/research/research-quality-contract.js +61 -0
- package/dist/core/research/research-report-quality.js +67 -0
- package/dist/core/research/research-stage-runner.js +16 -0
- package/dist/core/research/research-work-graph.js +75 -0
- package/dist/core/research/source-quality-report.js +94 -0
- package/dist/core/research.js +344 -44
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-slot-column-anchor.js +5 -3
- package/dist/core/zellij/zellij-slot-pane-renderer.js +259 -16
- package/dist/scripts/codex-sdk-research-pipeline-check.js +7 -0
- package/dist/scripts/packlist-performance-check.js +1 -1
- package/dist/scripts/research-quality-gate-check.js +86 -0
- package/dist/scripts/zellij-slot-column-anchor-check.js +26 -5
- package/dist/scripts/zellij-slot-pane-renderer-check.js +73 -5
- package/package.json +13 -1
- package/schemas/research/claim-evidence-matrix.schema.json +37 -0
- package/schemas/research/experiment-plan.schema.json +17 -0
- package/schemas/research/implementation-blueprint.schema.json +30 -0
- package/schemas/research/replication-pack.schema.json +17 -0
- package/schemas/research/research-final-review.schema.json +16 -0
- package/schemas/research/research-quality-contract.schema.json +37 -0
- package/schemas/research/source-quality-report.schema.json +18 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/claim-evidence-matrix.schema.json",
|
|
4
|
+
"title": "SKS Claim Evidence Matrix",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "claims", "key_claim_ids", "unsupported_claims", "triangulated_claim_count", "blockers"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.claim-evidence-matrix.v1" },
|
|
9
|
+
"mission_id": { "type": "string" },
|
|
10
|
+
"claims": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"required": ["id", "claim", "claim_type", "importance", "source_ids", "counterevidence_ids", "triangulation", "confidence", "falsifiable", "test_or_probe"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"id": { "type": "string", "minLength": 1 },
|
|
17
|
+
"claim": { "type": "string" },
|
|
18
|
+
"claim_type": { "type": "string" },
|
|
19
|
+
"importance": { "type": "string" },
|
|
20
|
+
"source_ids": { "type": "array", "items": { "type": "string" } },
|
|
21
|
+
"local_evidence_ids": { "type": "array", "items": { "type": "string" } },
|
|
22
|
+
"counterevidence_ids": { "type": "array", "items": { "type": "string" } },
|
|
23
|
+
"triangulation": { "type": "object" },
|
|
24
|
+
"confidence": { "type": "string" },
|
|
25
|
+
"falsifiable": { "type": "boolean" },
|
|
26
|
+
"test_or_probe": { "type": "string" }
|
|
27
|
+
},
|
|
28
|
+
"additionalProperties": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"key_claim_ids": { "type": "array", "items": { "type": "string" } },
|
|
32
|
+
"unsupported_claims": { "type": "array", "items": { "type": "string" } },
|
|
33
|
+
"triangulated_claim_count": { "type": "integer", "minimum": 0 },
|
|
34
|
+
"blockers": { "type": "array", "items": { "type": "string" } }
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": true
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/experiment-plan.schema.json",
|
|
4
|
+
"title": "SKS Research Experiment Plan",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "prompt", "hypothesis", "steps", "metrics"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.research-experiment-plan.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"prompt": { "type": "string" },
|
|
11
|
+
"hypothesis": { "type": "string" },
|
|
12
|
+
"steps": { "type": "array", "minItems": 5, "items": { "type": "object" } },
|
|
13
|
+
"metrics": { "type": "array", "items": { "type": "string" } },
|
|
14
|
+
"controls": { "type": "array", "items": { "type": "string" } }
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": true
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/implementation-blueprint.schema.json",
|
|
4
|
+
"title": "SKS Research Implementation Blueprint",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "prompt", "implementation_allowed_in_research", "handoff_route", "sections"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.research-implementation-blueprint.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"prompt": { "type": "string" },
|
|
11
|
+
"implementation_allowed_in_research": { "type": "boolean" },
|
|
12
|
+
"handoff_route": { "type": "string" },
|
|
13
|
+
"sections": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 8,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": ["id", "title", "detail", "acceptance_checks"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": { "type": "string" },
|
|
21
|
+
"title": { "type": "string" },
|
|
22
|
+
"detail": { "type": "string" },
|
|
23
|
+
"acceptance_checks": { "type": "array", "items": { "type": "string" } }
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": true
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": true
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/replication-pack.schema.json",
|
|
4
|
+
"title": "SKS Research Replication Pack",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "inputs", "commands", "expected_artifacts"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.research-replication-pack.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"mission_id": { "type": ["string", "null"] },
|
|
11
|
+
"prompt": { "type": "string" },
|
|
12
|
+
"inputs": { "type": "array", "minItems": 3, "items": { "type": "string" } },
|
|
13
|
+
"commands": { "type": "array", "minItems": 3, "items": { "type": "string" } },
|
|
14
|
+
"expected_artifacts": { "type": "array", "minItems": 6, "items": { "type": "string" } }
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": true
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/research-final-review.schema.json",
|
|
4
|
+
"title": "SKS Research Final Review",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "reviewed_at", "approved", "blockers", "checks", "reviewer"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.research-final-reviewer.v1" },
|
|
9
|
+
"reviewed_at": { "type": "string" },
|
|
10
|
+
"approved": { "type": "boolean" },
|
|
11
|
+
"blockers": { "type": "array", "items": { "type": "string" } },
|
|
12
|
+
"checks": { "type": "object" },
|
|
13
|
+
"reviewer": { "type": "string" }
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/research-quality-contract.schema.json",
|
|
4
|
+
"title": "SKS Research Quality Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema",
|
|
8
|
+
"min_sources_total",
|
|
9
|
+
"min_source_layers_covered",
|
|
10
|
+
"min_counterevidence_sources",
|
|
11
|
+
"min_trianguled_claims",
|
|
12
|
+
"min_key_claims",
|
|
13
|
+
"min_implementation_blueprint_sections",
|
|
14
|
+
"min_falsification_cases",
|
|
15
|
+
"min_experiment_steps",
|
|
16
|
+
"min_report_words",
|
|
17
|
+
"required_artifacts"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schema": { "const": "sks.research-quality-contract.v1" },
|
|
21
|
+
"min_sources_total": { "type": "integer", "minimum": 1 },
|
|
22
|
+
"min_source_layers_covered": { "type": "integer", "minimum": 1 },
|
|
23
|
+
"min_counterevidence_sources": { "type": "integer", "minimum": 1 },
|
|
24
|
+
"min_trianguled_claims": { "type": "integer", "minimum": 1 },
|
|
25
|
+
"min_key_claims": { "type": "integer", "minimum": 1 },
|
|
26
|
+
"min_implementation_blueprint_sections": { "type": "integer", "minimum": 1 },
|
|
27
|
+
"min_falsification_cases": { "type": "integer", "minimum": 1 },
|
|
28
|
+
"min_experiment_steps": { "type": "integer", "minimum": 1 },
|
|
29
|
+
"min_report_words": { "type": "integer", "minimum": 1 },
|
|
30
|
+
"required_artifacts": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": { "type": "string", "minLength": 1 },
|
|
33
|
+
"minItems": 1
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": true
|
|
37
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://sneakoscope.dev/schemas/research/source-quality-report.schema.json",
|
|
4
|
+
"title": "SKS Source Quality Report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema", "generated_at", "ok", "blockers", "summary", "citation_coverage", "sources"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": { "const": "sks.research-source-quality-report.v1" },
|
|
9
|
+
"generated_at": { "type": "string" },
|
|
10
|
+
"ok": { "type": "boolean" },
|
|
11
|
+
"blockers": { "type": "array", "items": { "type": "string" } },
|
|
12
|
+
"required_source_fields": { "type": "array", "items": { "type": "string" } },
|
|
13
|
+
"summary": { "type": "object" },
|
|
14
|
+
"citation_coverage": { "type": "object" },
|
|
15
|
+
"sources": { "type": "array", "items": { "type": "object" } }
|
|
16
|
+
},
|
|
17
|
+
"additionalProperties": true
|
|
18
|
+
}
|