sneakoscope 2.0.6 → 2.0.7
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 +6 -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 +32 -8
- package/dist/core/agents/agent-orchestrator.js +138 -3
- package/dist/core/agents/agent-patch-schema.js +16 -2
- package/dist/core/agents/agent-proof-evidence.js +3 -0
- package/dist/core/agents/native-cli-session-swarm.js +25 -4
- package/dist/core/agents/native-cli-worker.js +28 -1
- package/dist/core/codex-control/python-codex-sdk-adapter.js +28 -4
- package/dist/core/commands/naruto-command.js +39 -10
- package/dist/core/feature-registry.js +2 -0
- package/dist/core/fsx.js +1 -1
- package/dist/core/git/git-integration-worktree.js +15 -0
- package/dist/core/git/git-repo-detection.js +72 -0
- package/dist/core/git/git-worktree-cache-policy.js +36 -0
- package/dist/core/git/git-worktree-capability.js +54 -0
- package/dist/core/git/git-worktree-cleanup.js +51 -0
- package/dist/core/git/git-worktree-conflict-resolver.js +13 -0
- package/dist/core/git/git-worktree-diff.js +50 -0
- package/dist/core/git/git-worktree-manager.js +86 -0
- package/dist/core/git/git-worktree-merge-queue.js +55 -0
- package/dist/core/git/git-worktree-patch-envelope.js +35 -0
- package/dist/core/git/git-worktree-pool.js +23 -0
- package/dist/core/git/git-worktree-root.js +52 -0
- package/dist/core/git/git-worktree-runner.js +40 -0
- package/dist/core/naruto/naruto-active-pool.js +35 -0
- package/dist/core/naruto/naruto-gpt-final-pack.js +2 -0
- package/dist/core/naruto/naruto-work-graph.js +16 -1
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-naruto-dashboard.js +10 -1
- package/dist/core/zellij/zellij-worker-pane-manager.js +6 -4
- package/dist/scripts/git-worktree-cache-performance-check.js +25 -0
- package/dist/scripts/git-worktree-capability-check.js +27 -0
- package/dist/scripts/git-worktree-cleanup-check.js +27 -0
- package/dist/scripts/git-worktree-diff-export-check.js +43 -0
- package/dist/scripts/git-worktree-manager-check.js +37 -0
- package/dist/scripts/git-worktree-merge-queue-check.js +30 -0
- package/dist/scripts/git-worktree-pool-performance-check.js +20 -0
- package/dist/scripts/lib/git-worktree-fixture.js +33 -0
- package/dist/scripts/naruto-shadow-clone-swarm-check.js +9 -5
- package/dist/scripts/naruto-worktree-coding-check.js +44 -0
- package/dist/scripts/naruto-worktree-gpt-final-check.js +45 -0
- package/dist/scripts/naruto-worktree-zellij-ui-check.js +28 -0
- package/dist/scripts/release-parallel-check.js +1 -1
- package/package.json +14 -3
- package/schemas/git/git-worktree-capability.schema.json +19 -0
- package/schemas/git/git-worktree-manifest.schema.json +36 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
7
|
+
import { makeGitFixture, makeNonGitFixture } from './lib/git-worktree-fixture.js';
|
|
8
|
+
const capabilityMod = await importDist('core/git/git-worktree-capability.js');
|
|
9
|
+
const workGraphMod = await importDist('core/naruto/naruto-work-graph.js');
|
|
10
|
+
const activePoolMod = await importDist('core/naruto/naruto-active-pool.js');
|
|
11
|
+
const governorMod = await importDist('core/naruto/naruto-concurrency-governor.js');
|
|
12
|
+
const repo = makeGitFixture('naruto-worktree-coding');
|
|
13
|
+
process.env.SKS_WORKTREE_ROOT = fs.mkdtempSync(path.join(os.tmpdir(), 'sks-naruto-wt-'));
|
|
14
|
+
const capability = await capabilityMod.evaluateGitWorktreeCapability({ root: repo, missionId: 'M-naruto-wt', requireGitWorktree: process.argv.includes('--require-real') });
|
|
15
|
+
const policy = {
|
|
16
|
+
mode: capability.mode,
|
|
17
|
+
required: capability.mode === 'git-worktree',
|
|
18
|
+
main_repo_root: capability.detection.root,
|
|
19
|
+
worktree_root: capability.root_resolution?.root || null,
|
|
20
|
+
fallback_reason: capability.mode === 'git-worktree' ? null : capability.blockers.join(';')
|
|
21
|
+
};
|
|
22
|
+
const graph = workGraphMod.buildNarutoWorkGraph({
|
|
23
|
+
requestedClones: 8,
|
|
24
|
+
totalWorkItems: 12,
|
|
25
|
+
writeCapable: true,
|
|
26
|
+
targetPaths: Array.from({ length: 12 }, (_, index) => `src/wt-${index}.ts`),
|
|
27
|
+
maxActiveWorkers: 4,
|
|
28
|
+
worktreePolicy: policy
|
|
29
|
+
});
|
|
30
|
+
const governor = governorMod.decideNarutoConcurrency({ requestedClones: 8, totalWorkItems: 12, pendingWorkQueueSize: 12, backend: 'fake' });
|
|
31
|
+
const pool = await activePoolMod.runNarutoActivePool({ graph, governor: { ...governor, safe_active_workers: 4 } });
|
|
32
|
+
assertGate(capability.ok === true && capability.mode === 'git-worktree', 'Git Naruto coding fixture must use git-worktree mode', capability);
|
|
33
|
+
assertGate(graph.worktree_policy.mode === 'git-worktree', 'Naruto work graph must carry git-worktree policy', graph.worktree_policy);
|
|
34
|
+
assertGate(graph.work_items.filter((item) => item.write_allowed).every((item) => item.worktree?.allocation_required === true), 'write-capable work items must require worktree allocation', graph.work_items);
|
|
35
|
+
assertGate(pool.worktree_allocation_required_count > 0, 'active pool must plan worktree allocations for write work', pool);
|
|
36
|
+
const nonGit = makeNonGitFixture('naruto-worktree-non-git');
|
|
37
|
+
const nonGitCapability = await capabilityMod.evaluateGitWorktreeCapability({ root: nonGit, missionId: 'M-naruto-non-git' });
|
|
38
|
+
assertGate(nonGitCapability.mode === 'patch-envelope-only' && nonGitCapability.worktree_probe_attempted === false, 'non-Git Naruto must degrade without worktree probe', nonGitCapability);
|
|
39
|
+
emitGate('naruto:worktree-coding', {
|
|
40
|
+
worktree_mode: graph.worktree_policy.mode,
|
|
41
|
+
allocation_required_count: pool.worktree_allocation_required_count,
|
|
42
|
+
non_git_mode: nonGitCapability.mode
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=naruto-worktree-coding-check.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const workGraphMod = await importDist('core/naruto/naruto-work-graph.js');
|
|
5
|
+
const rolesMod = await importDist('core/naruto/naruto-role-policy.js');
|
|
6
|
+
const packMod = await importDist('core/naruto/naruto-gpt-final-pack.js');
|
|
7
|
+
const policy = {
|
|
8
|
+
mode: 'git-worktree',
|
|
9
|
+
required: true,
|
|
10
|
+
main_repo_root: '/repo',
|
|
11
|
+
worktree_root: '/cache/sks/worktrees/repo/M-final',
|
|
12
|
+
fallback_reason: null
|
|
13
|
+
};
|
|
14
|
+
const graph = workGraphMod.buildNarutoWorkGraph({ requestedClones: 6, totalWorkItems: 8, writeCapable: true, worktreePolicy: policy });
|
|
15
|
+
const roleDistribution = rolesMod.buildNarutoRoleDistribution(graph.work_items);
|
|
16
|
+
const worktreeDiff = {
|
|
17
|
+
schema: 'sks.git-worktree-diff.v1',
|
|
18
|
+
ok: true,
|
|
19
|
+
mission_id: 'M-final',
|
|
20
|
+
worker_id: 'worker-1',
|
|
21
|
+
main_repo_root: '/repo',
|
|
22
|
+
worktree_path: '/cache/wt/worker-1',
|
|
23
|
+
branch: 'sks/M/worker-1',
|
|
24
|
+
changed_files: ['src/a.ts'],
|
|
25
|
+
diff: 'diff --git a/src/a.ts b/src/a.ts\n',
|
|
26
|
+
diff_bytes: 37
|
|
27
|
+
};
|
|
28
|
+
const pack = packMod.buildNarutoGptFinalPack({
|
|
29
|
+
missionId: 'M-final',
|
|
30
|
+
graph,
|
|
31
|
+
roleDistribution,
|
|
32
|
+
changedFiles: ['src/a.ts'],
|
|
33
|
+
worktreePolicy: policy,
|
|
34
|
+
worktreeDiffs: [worktreeDiff],
|
|
35
|
+
localLlmMetrics: { participated: true, final_status: 'draft_until_gpt_final' }
|
|
36
|
+
});
|
|
37
|
+
assertGate(pack.worktree_policy.mode === 'git-worktree', 'GPT final pack must include worktree policy', pack.worktree_policy);
|
|
38
|
+
assertGate(pack.worktree_diffs.length === 1, 'GPT final pack must include bounded worktree diffs', pack);
|
|
39
|
+
assertGate(pack.local_llm_metrics.final_status === 'draft_until_gpt_final', 'local LLM output must remain draft until GPT final', pack.local_llm_metrics);
|
|
40
|
+
assertGate(pack.bounded === true && pack.secrets_redacted === true, 'GPT final pack must stay bounded/redacted', pack);
|
|
41
|
+
emitGate('naruto:worktree-gpt-final', {
|
|
42
|
+
worktree_mode: pack.worktree_policy.mode,
|
|
43
|
+
worktree_diffs: pack.worktree_diffs.length
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=naruto-worktree-gpt-final-check.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { assertGate, emitGate, importDist } from './sks-1-18-gate-lib.js';
|
|
4
|
+
const dashboardMod = await importDist('core/zellij/zellij-naruto-dashboard.js');
|
|
5
|
+
const plan = dashboardMod.planNarutoZellijDashboard({
|
|
6
|
+
targetActiveWorkers: 10,
|
|
7
|
+
visiblePaneCap: 6,
|
|
8
|
+
roles: ['implementer', 'verifier'],
|
|
9
|
+
backend: 'codex-sdk',
|
|
10
|
+
worktreePolicy: {
|
|
11
|
+
mode: 'git-worktree',
|
|
12
|
+
required: true,
|
|
13
|
+
main_repo_root: '/repo',
|
|
14
|
+
worktree_root: '/cache/sks/worktrees/repo/M',
|
|
15
|
+
fallback_reason: null
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
assertGate(plan.ok === true, 'Naruto worktree Zellij dashboard must pass', plan);
|
|
19
|
+
assertGate(plan.worktree_mode === 'git-worktree', 'dashboard must carry worktree mode', plan);
|
|
20
|
+
assertGate(plan.worktree_labels.length === plan.visible_worker_panes, 'visible panes must have worktree labels', plan);
|
|
21
|
+
assertGate(plan.pane_titles.every((title) => title.includes('WT:') && title.includes('branch:')), 'pane titles must include worktree id and branch', plan.pane_titles);
|
|
22
|
+
assertGate(plan.headless_workers === 4, 'dashboard must still expose headless worker count', plan);
|
|
23
|
+
emitGate('naruto:worktree-zellij-ui', {
|
|
24
|
+
visible_worker_panes: plan.visible_worker_panes,
|
|
25
|
+
headless_workers: plan.headless_workers,
|
|
26
|
+
sample_title: plan.pane_titles[0]
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=naruto-worktree-zellij-ui-check.js.map
|
|
@@ -269,7 +269,7 @@ const tasks = [
|
|
|
269
269
|
task('docs:truthfulness', 'npm run docs:truthfulness --silent', { dependencies: ['build'] }),
|
|
270
270
|
task('official-docs:compat', 'npm run official-docs:compat --silent', { dependencies: ['build'] }),
|
|
271
271
|
task('blackbox:matrix:contract', 'npm run blackbox:matrix:contract --silent', { dependencies: ['build'] }),
|
|
272
|
-
task('test:blackbox', 'npm run test:blackbox --silent', { dependencies: ['build'], timeout_ms: 20 * 60 * 1000 }),
|
|
272
|
+
task('test:blackbox', 'npm run test:blackbox --silent', { dependencies: ['build', 'naruto:shadow-clone-swarm'], timeout_ms: 20 * 60 * 1000 }),
|
|
273
273
|
task('rust:check', 'npm run rust:check --silent', { dependencies: ['build'] }),
|
|
274
274
|
task('rust:smoke', 'npm run rust:smoke --silent', { dependencies: ['build'] }),
|
|
275
275
|
task('release:dist-freshness', 'npm run release:dist-freshness --silent', { dependencies: ['build'] }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.7",
|
|
5
5
|
"description": "Sneakoscope Codex: fast proof-first Codex trust layer with image-based Voxel TriWiki.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
|
|
@@ -312,8 +312,8 @@
|
|
|
312
312
|
"ultra-router:classification": "node ./dist/scripts/ultra-router-classification-check.js",
|
|
313
313
|
"ultra-router:auto-router": "node ./dist/scripts/ultra-router-auto-router-check.js",
|
|
314
314
|
"coverage": "node --experimental-test-coverage --test \"test/**/*.test.mjs\"",
|
|
315
|
-
"release:check": "npm run release:check:parallel && npm run mad-sks:app-ui-no-mutation && npm run codex-app:fast-ui-preservation && npm run codex-app:ui-clobber-guard && npm run doctor:fixes-codex-app-fast-ui && npm run provider:badge-context && npm run provider:context-config-toml && npm run codex-app:provider-badge && npm run zellij:spawn-on-demand-layout && npm run zellij:worker-pane-manager && npm run zellij:worker-pane-manager-single-owner && npm run agent:worker-pane-communication-contract && npm run runtime:no-mjs-scripts && npm run runtime:ts-python-boundary && npm run codex-sdk:capability && npm run codex-sdk:no-legacy-fallback && npm run codex-sdk:backend-router && npm run codex-sdk:structured-output && npm run codex-sdk:event-stream-ledger && npm run codex-sdk:thread-registry && npm run codex-sdk:sandbox-policy && npm run codex-sdk:zellij-pane-binding && npm run codex-sdk:all-pipelines && npm run codex-sdk:dfix-pipeline && npm run codex-sdk:qa-pipeline && npm run codex-sdk:research-pipeline && npm run codex-sdk:team-naruto-agent-pipeline && npm run codex-sdk:release-review-pipeline && npm run codex-sdk:ux-ppt-review-pipeline && npm run codex-sdk:core-skill-pipeline && npm run codex-control:capability && npm run codex-control:no-legacy-fallback && npm run codex-control:structured-output && npm run codex-control:event-stream-ledger && npm run codex-control:thread-registry && npm run codex-control:side-effect-scope && npm run codex-control:all-pipelines && npm run codex-control:empty-result-retry && npm run codex-control:stream-idle-watchdog && npm run codex-control:tool-call-sequence-repair && npm run codex-control:keepalive-no-cot-leak && npm run local-collab:policy && npm run local-collab:gpt-final-arbiter && npm run local-collab:no-local-only-final && npm run local-collab:gpt-final-availability && npm run local-llm:capability && npm run local-llm:structured-output && npm run local-llm:tool-call-repair && npm run local-llm:all-pipelines && npm run local-collab:all-pipelines-final-gpt && npm run python-sdk:capability && npm run python-sdk:stream-bridge && npm run python-sdk:sandbox-policy && npm run python-sdk:all-pipelines && npm run codex:plugin-list-json && npm run codex:product-design-plugin-routing && npm run codex:product-design-auto-install && npm run codex:thread-runtime-choice && npm run codex:environment-scoped-approvals && npm run ultra-router:classification && npm run ultra-router:auto-router && npm run release:version-truth && npm run codex:0.137-compat && npm run codex:0.136-compat && npm run codex:0.135-compat && npm run doctor:codex-doctor-parity && npm run codex:permission-profiles && npm run codex:legacy-profile-consumers-removed && npm run terminal:keyboard-enhancement-safety && npm run terminal:tui-output-stability && npm run codex:resume-cwd-truth && npm run mcp:tool-naming-parity && npm run responses:retry-policy-centralized && npm run runtime:no-tmux && npm run zellij:layout-valid && npm run agent:zellij-dynamic-backfill-panes && npm run agent:worker-pane-communication-contract && npm run agent:slot-pane-binding-proof && npm run zellij:worker-pane-manager && npm run zellij:spawn-on-demand-layout && npm run zellij:lane-renderer && npm run mad-sks:zellij-launch && npm run mad-sks:zellij-default-pane-worker && npm run agent:zellij-runtime && npm run codex:config-eperm-fixture && npm run doctor:fix-proves-codex-read && npm run mad:preflight-blocks-unreadable-config && npm run fast:codex-service-tier-proof && npm run codex:project-config-policy-splitter && npm run test:no-orphan-dist-imports && npm run agent:patch-envelope-extraction && npm run agent:patch-queue-runtime && npm run agent:strategy-to-lease-wiring && npm run agent:patch-swarm-runtime && npm run agent:patch-transaction-journal && npm run agent:patch-conflict-rebase && npm run agent:strategy-to-patch-strict && npm run agent:patch-swarm-runtime-truth && npm run agent:rollback-command && npm run agent:patch-verification-dag && npm run agent:patch-rollback-dag && npm run agent:patch-proof-runtime && npm run agent:patch-swarm-route-blackbox && npm run team:patch-swarm-route-blackbox && npm run dfix:patch-swarm-route-blackbox && npm run appshots:thread-attachment-discovery && npm run mcp:readonly-runtime-scheduler && npm run naruto:work-graph && npm run naruto:readonly-routing && npm run naruto:concurrency-governor && npm run naruto:active-pool && npm run naruto:role-distribution && npm run naruto:parallel-patch-apply && npm run naruto:verification-pool && npm run naruto:zellij-massive-ui && npm run naruto:gpt-final-pack && npm run prompt:placeholder-guard && npm run codex:0.134-runner-truth && npm run agent:native-cli-session-swarm && npm run naruto:shadow-clone-swarm && npm run agent:native-cli-session-swarm-10 && npm run agent:native-cli-session-swarm-20 && npm run agent:no-subagent-scaling && npm run agent:native-cli-session-proof && npm run agent:worker-backend-router && npm run agent:codex-child-overlap && npm run agent:model-authored-patch-envelope && npm run agent:fast-mode-default && npm run agent:fast-mode-worker-propagation && npm run codex:fast-mode-profile-propagation && npm run mad-sks:fast-mode-propagation && npm run zellij:launch-command-truth && npm run zellij:real-session-heartbeat && npm run zellij:ui-design && npm run zellij:doctor-readiness && npm run legacy:upgrade-zero-break && npm run publish:packlist-performance && npm run postinstall:safe-side-effects && npm run runtime:ts-rust-boundary && npm run core-skill:card-schema && npm run core-skill:rollout-scoring && npm run core-skill:patch && npm run core-skill:heldout-validation && npm run core-skill:deployment-snapshot && npm run core-skill:no-inference-optimizer && npm run core-skill:route-runtime-integration && npm run core-skill:promotion-side-effect-ledger && npm run core-skill:legacy-promotion-api-audit && npm run safety:side-effect-zero && npm run safety:mutation-callsite-coverage && npm run safety:mutation-callsite-coverage:repo-wide && npm run side-effect:runtime-report && npm run release:gate-planner && npm run release:dynamic-performance && npm run release:provenance && npm run release:gate-budget && npm run agent:wiki-context-proof && npm run shared-memory:check && npm run wrongness:check && npm run wrongness:fixtures && npm run trust:check && npm run git-collaboration:e2e && node ./dist/scripts/release-check-stamp.js write && npm run release:readiness --silent && node ./dist/scripts/release-check-stamp.js write",
|
|
316
|
-
"release:real-check": "node ./dist/scripts/release-real-check.js && npm run codex-control:real-smoke -- --require-real && npm run codex-sdk:real-smoke -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:smoke && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:throughput && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:cache-performance && SKS_REQUIRE_PYTHON_CODEX_SDK=1 npm run python-sdk:real-smoke && SKS_REQUIRE_CODEX_0137=1 npm run codex:0.137-compat:require-real && npm run zellij:real-session-launch -- --require-real --main-only --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run zellij:pane-proof -- --require-real --mission M-release-real-zellij-extra --session sks-rrz-extra --expected-lanes 0 && npm run zellij:screen-proof -- --require-real --main-only --mission M-release-real-zellij-extra && npm run zellij:real-session-cleanup -- --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run agent:real-codex-in-zellij-worker-pane -- --require-real && SKS_REQUIRE_ZELLIJ=1 npm run naruto:zellij-massive-ui -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run naruto:real-local-gpt-final-smoke && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run local-collab:gpt-final-performance",
|
|
315
|
+
"release:check": "npm run release:check:parallel && npm run mad-sks:app-ui-no-mutation && npm run codex-app:fast-ui-preservation && npm run codex-app:ui-clobber-guard && npm run doctor:fixes-codex-app-fast-ui && npm run provider:badge-context && npm run provider:context-config-toml && npm run codex-app:provider-badge && npm run zellij:spawn-on-demand-layout && npm run zellij:worker-pane-manager && npm run zellij:worker-pane-manager-single-owner && npm run agent:worker-pane-communication-contract && npm run runtime:no-mjs-scripts && npm run runtime:ts-python-boundary && npm run codex-sdk:capability && npm run codex-sdk:no-legacy-fallback && npm run codex-sdk:backend-router && npm run codex-sdk:structured-output && npm run codex-sdk:event-stream-ledger && npm run codex-sdk:thread-registry && npm run codex-sdk:sandbox-policy && npm run codex-sdk:zellij-pane-binding && npm run codex-sdk:all-pipelines && npm run codex-sdk:dfix-pipeline && npm run codex-sdk:qa-pipeline && npm run codex-sdk:research-pipeline && npm run codex-sdk:team-naruto-agent-pipeline && npm run codex-sdk:release-review-pipeline && npm run codex-sdk:ux-ppt-review-pipeline && npm run codex-sdk:core-skill-pipeline && npm run codex-control:capability && npm run codex-control:no-legacy-fallback && npm run codex-control:structured-output && npm run codex-control:event-stream-ledger && npm run codex-control:thread-registry && npm run codex-control:side-effect-scope && npm run codex-control:all-pipelines && npm run codex-control:empty-result-retry && npm run codex-control:stream-idle-watchdog && npm run codex-control:tool-call-sequence-repair && npm run codex-control:keepalive-no-cot-leak && npm run local-collab:policy && npm run local-collab:gpt-final-arbiter && npm run local-collab:no-local-only-final && npm run local-collab:gpt-final-availability && npm run local-llm:capability && npm run local-llm:structured-output && npm run local-llm:tool-call-repair && npm run local-llm:all-pipelines && npm run local-collab:all-pipelines-final-gpt && npm run python-sdk:capability && npm run python-sdk:stream-bridge && npm run python-sdk:sandbox-policy && npm run python-sdk:all-pipelines && npm run codex:plugin-list-json && npm run codex:product-design-plugin-routing && npm run codex:product-design-auto-install && npm run codex:thread-runtime-choice && npm run codex:environment-scoped-approvals && npm run ultra-router:classification && npm run ultra-router:auto-router && npm run release:version-truth && npm run release:worktree-gates && npm run codex:0.137-compat && npm run codex:0.136-compat && npm run codex:0.135-compat && npm run doctor:codex-doctor-parity && npm run codex:permission-profiles && npm run codex:legacy-profile-consumers-removed && npm run terminal:keyboard-enhancement-safety && npm run terminal:tui-output-stability && npm run codex:resume-cwd-truth && npm run mcp:tool-naming-parity && npm run responses:retry-policy-centralized && npm run runtime:no-tmux && npm run zellij:layout-valid && npm run agent:zellij-dynamic-backfill-panes && npm run agent:worker-pane-communication-contract && npm run agent:slot-pane-binding-proof && npm run zellij:worker-pane-manager && npm run zellij:spawn-on-demand-layout && npm run zellij:lane-renderer && npm run mad-sks:zellij-launch && npm run mad-sks:zellij-default-pane-worker && npm run agent:zellij-runtime && npm run codex:config-eperm-fixture && npm run doctor:fix-proves-codex-read && npm run mad:preflight-blocks-unreadable-config && npm run fast:codex-service-tier-proof && npm run codex:project-config-policy-splitter && npm run test:no-orphan-dist-imports && npm run agent:patch-envelope-extraction && npm run agent:patch-queue-runtime && npm run agent:strategy-to-lease-wiring && npm run agent:patch-swarm-runtime && npm run agent:patch-transaction-journal && npm run agent:patch-conflict-rebase && npm run agent:strategy-to-patch-strict && npm run agent:patch-swarm-runtime-truth && npm run agent:rollback-command && npm run agent:patch-verification-dag && npm run agent:patch-rollback-dag && npm run agent:patch-proof-runtime && npm run agent:patch-swarm-route-blackbox && npm run team:patch-swarm-route-blackbox && npm run dfix:patch-swarm-route-blackbox && npm run appshots:thread-attachment-discovery && npm run mcp:readonly-runtime-scheduler && npm run naruto:work-graph && npm run naruto:readonly-routing && npm run naruto:concurrency-governor && npm run naruto:active-pool && npm run naruto:role-distribution && npm run naruto:parallel-patch-apply && npm run naruto:verification-pool && npm run naruto:zellij-massive-ui && npm run naruto:gpt-final-pack && npm run prompt:placeholder-guard && npm run codex:0.134-runner-truth && npm run agent:native-cli-session-swarm && npm run naruto:shadow-clone-swarm && npm run agent:native-cli-session-swarm-10 && npm run agent:native-cli-session-swarm-20 && npm run agent:no-subagent-scaling && npm run agent:native-cli-session-proof && npm run agent:worker-backend-router && npm run agent:codex-child-overlap && npm run agent:model-authored-patch-envelope && npm run agent:fast-mode-default && npm run agent:fast-mode-worker-propagation && npm run codex:fast-mode-profile-propagation && npm run mad-sks:fast-mode-propagation && npm run zellij:launch-command-truth && npm run zellij:real-session-heartbeat && npm run zellij:ui-design && npm run zellij:doctor-readiness && npm run legacy:upgrade-zero-break && npm run publish:packlist-performance && npm run postinstall:safe-side-effects && npm run runtime:ts-rust-boundary && npm run core-skill:card-schema && npm run core-skill:rollout-scoring && npm run core-skill:patch && npm run core-skill:heldout-validation && npm run core-skill:deployment-snapshot && npm run core-skill:no-inference-optimizer && npm run core-skill:route-runtime-integration && npm run core-skill:promotion-side-effect-ledger && npm run core-skill:legacy-promotion-api-audit && npm run safety:side-effect-zero && npm run safety:mutation-callsite-coverage && npm run safety:mutation-callsite-coverage:repo-wide && npm run side-effect:runtime-report && npm run release:gate-planner && npm run release:dynamic-performance && npm run release:provenance && npm run release:gate-budget && npm run agent:wiki-context-proof && npm run shared-memory:check && npm run wrongness:check && npm run wrongness:fixtures && npm run trust:check && npm run git-collaboration:e2e && node ./dist/scripts/release-check-stamp.js write && npm run release:readiness --silent && node ./dist/scripts/release-check-stamp.js write",
|
|
316
|
+
"release:real-check": "node ./dist/scripts/release-real-check.js && SKS_REQUIRE_GIT_WORKTREE=1 npm run naruto:worktree-coding -- --require-real && npm run codex-control:real-smoke -- --require-real && npm run codex-sdk:real-smoke -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:smoke && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:throughput && SKS_REQUIRE_LOCAL_LLM=1 npm run local-llm:cache-performance && SKS_REQUIRE_PYTHON_CODEX_SDK=1 npm run python-sdk:real-smoke && SKS_REQUIRE_CODEX_0137=1 npm run codex:0.137-compat:require-real && npm run zellij:real-session-launch -- --require-real --main-only --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run zellij:pane-proof -- --require-real --mission M-release-real-zellij-extra --session sks-rrz-extra --expected-lanes 0 && npm run zellij:screen-proof -- --require-real --main-only --mission M-release-real-zellij-extra && npm run zellij:real-session-cleanup -- --mission M-release-real-zellij-extra --session sks-rrz-extra && npm run agent:real-codex-in-zellij-worker-pane -- --require-real && SKS_REQUIRE_ZELLIJ=1 npm run naruto:zellij-massive-ui -- --require-real && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run naruto:real-local-gpt-final-smoke && SKS_REQUIRE_LOCAL_LLM=1 SKS_REQUIRE_GPT_FINAL=1 npm run local-collab:gpt-final-performance",
|
|
317
317
|
"release:publish": "npm run publish:npm",
|
|
318
318
|
"publish:dry": "npm run release:metadata && npm run release:version-truth && npm run publish:packlist-performance && npm run prepublish:release-check-or-fast && node ./dist/scripts/release-check-stamp.js verify && npm run release:provenance -- --publish && npm run release:dist-freshness && npm --cache /tmp/sks-npm-cache publish --dry-run --registry https://registry.npmjs.org/ --access public",
|
|
319
319
|
"publish:npm": "npm --cache /tmp/sks-npm-cache publish --registry https://registry.npmjs.org/ --access public",
|
|
@@ -453,6 +453,14 @@
|
|
|
453
453
|
"agent:strategy-to-patch-strict": "node ./dist/scripts/agent-strategy-to-patch-strict-check.js",
|
|
454
454
|
"agent:rollback-command": "node ./dist/scripts/agent-rollback-command-check.js",
|
|
455
455
|
"agent:native-cli-session-swarm": "node ./dist/scripts/agent-native-cli-session-swarm-check.js",
|
|
456
|
+
"release:worktree-gates": "npm run git:worktree-capability && npm run git:worktree-manager && npm run git:worktree-diff-export && npm run git:worktree-merge-queue && npm run git:worktree-cleanup && npm run git:worktree-cache-performance && npm run git:worktree-pool-performance && npm run naruto:worktree-coding && npm run naruto:worktree-zellij-ui && npm run naruto:worktree-gpt-final",
|
|
457
|
+
"git:worktree-capability": "node ./dist/scripts/git-worktree-capability-check.js",
|
|
458
|
+
"git:worktree-manager": "node ./dist/scripts/git-worktree-manager-check.js",
|
|
459
|
+
"git:worktree-diff-export": "node ./dist/scripts/git-worktree-diff-export-check.js",
|
|
460
|
+
"git:worktree-merge-queue": "node ./dist/scripts/git-worktree-merge-queue-check.js",
|
|
461
|
+
"git:worktree-cleanup": "node ./dist/scripts/git-worktree-cleanup-check.js",
|
|
462
|
+
"git:worktree-cache-performance": "node ./dist/scripts/git-worktree-cache-performance-check.js",
|
|
463
|
+
"git:worktree-pool-performance": "node ./dist/scripts/git-worktree-pool-performance-check.js",
|
|
456
464
|
"naruto:shadow-clone-swarm": "node ./dist/scripts/naruto-shadow-clone-swarm-check.js",
|
|
457
465
|
"naruto:work-graph": "node ./dist/scripts/naruto-work-graph-check.js",
|
|
458
466
|
"naruto:readonly-routing": "node ./dist/scripts/naruto-readonly-routing-check.js",
|
|
@@ -463,6 +471,9 @@
|
|
|
463
471
|
"naruto:verification-pool": "node ./dist/scripts/naruto-verification-pool-check.js",
|
|
464
472
|
"naruto:zellij-massive-ui": "node ./dist/scripts/naruto-zellij-massive-ui-check.js",
|
|
465
473
|
"naruto:gpt-final-pack": "node ./dist/scripts/naruto-gpt-final-pack-check.js",
|
|
474
|
+
"naruto:worktree-coding": "node ./dist/scripts/naruto-worktree-coding-check.js",
|
|
475
|
+
"naruto:worktree-zellij-ui": "node ./dist/scripts/naruto-worktree-zellij-ui-check.js",
|
|
476
|
+
"naruto:worktree-gpt-final": "node ./dist/scripts/naruto-worktree-gpt-final-check.js",
|
|
466
477
|
"naruto:real-local-gpt-final-smoke": "node ./dist/scripts/naruto-real-local-gpt-final-smoke.js",
|
|
467
478
|
"prompt:placeholder-guard": "node ./dist/scripts/prompt-placeholder-guard-check.js",
|
|
468
479
|
"agent:native-cli-session-swarm-10": "node ./dist/scripts/agent-native-cli-session-swarm-10-check.js",
|
|
@@ -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
|
+
}
|