@bastani/atomic 0.9.18-alpha.5 → 0.9.18-alpha.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/CHANGELOG.md +88 -0
- package/README.md +3 -3
- package/dist/builtin/intercom/CHANGELOG.md +39 -0
- package/dist/builtin/intercom/README.md +22 -2
- package/dist/builtin/intercom/broker/broker.ts +676 -128
- package/dist/builtin/intercom/broker/client.ts +151 -35
- package/dist/builtin/intercom/broker/delivered-message-cache.ts +497 -37
- package/dist/builtin/intercom/broker/framing.ts +4 -2
- package/dist/builtin/intercom/broker/paths.ts +10 -0
- package/dist/builtin/intercom/broker/pending-send-registry.ts +1 -2
- package/dist/builtin/intercom/broker/send-handler.ts +311 -52
- package/dist/builtin/intercom/broker/send-signature.ts +4 -2
- package/dist/builtin/intercom/broker/socket-writes.ts +103 -0
- package/dist/builtin/intercom/broker/spawn.ts +9 -4
- package/dist/builtin/intercom/index.bundle.mjs +1410 -212
- package/dist/builtin/intercom/package.json +2 -2
- package/dist/builtin/intercom/recoverable-disconnect.ts +52 -0
- package/dist/builtin/intercom/retry-policy.ts +8 -0
- package/dist/builtin/intercom/skills/intercom/SKILL.md +17 -9
- package/dist/builtin/intercom/types.ts +27 -8
- package/dist/builtin/intercom/workflow-stage-path-matching.ts +90 -0
- package/dist/builtin/intercom/workflow-stage-target.ts +57 -0
- package/dist/builtin/mcp/index.bundle.mjs +427 -126
- package/dist/builtin/mcp/package.json +2 -2
- package/dist/builtin/subagents/CHANGELOG.md +19 -0
- package/dist/builtin/subagents/README.md +3 -3
- package/dist/builtin/subagents/agents/code-simplifier.md +2 -2
- package/dist/builtin/subagents/agents/codebase-analyzer.md +2 -2
- package/dist/builtin/subagents/agents/codebase-locator.md +2 -2
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +11 -11
- package/dist/builtin/subagents/agents/codebase-pattern-finder.md +2 -2
- package/dist/builtin/subagents/agents/codebase-research-analyzer.md +2 -2
- package/dist/builtin/subagents/agents/codebase-research-locator.md +2 -2
- package/dist/builtin/subagents/agents/debugger.md +3 -3
- package/dist/builtin/subagents/agents/worker.md +2 -2
- package/dist/builtin/subagents/package.json +3 -3
- package/dist/builtin/subagents/skills/qlty/SKILL.md +29 -101
- package/dist/builtin/subagents/skills/qlty/references/manual-configuration.md +52 -0
- package/dist/builtin/subagents/skills/subagent/SKILL.md +11 -11
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +49 -132
- package/dist/builtin/web-access/package.json +2 -2
- package/dist/builtin/workflows/CHANGELOG.md +46 -0
- package/dist/builtin/workflows/README.md +7 -7
- package/dist/builtin/workflows/builtin/adversarial-verification.js +2 -2
- package/dist/builtin/workflows/builtin/{chunk-szz1ajz9.js → chunk-42s7sw0b.js} +9 -2
- package/dist/builtin/workflows/builtin/{chunk-2dqb5s2q.js → chunk-79fjkcvh.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-n58a7v26.js → chunk-b0v2xab1.js} +181 -10
- package/dist/builtin/workflows/builtin/{chunk-fghhy2a5.js → chunk-ed4jfn5t.js} +23 -5
- package/dist/builtin/workflows/builtin/{chunk-h3r2vkzc.js → chunk-hqpe2cyx.js} +60 -21
- package/dist/builtin/workflows/builtin/{chunk-hzzn6adg.js → chunk-k3w87x8y.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-82ha8p41.js → chunk-n8h4yyew.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-qwzvgxnq.js → chunk-reqr3sr3.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-c53y8bdh.js → chunk-wgccch41.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-0x6e303p.js → chunk-zbekjqew.js} +20 -7
- package/dist/builtin/workflows/builtin/{chunk-29wrp38a.js → chunk-ze5x3d1r.js} +1 -1
- package/dist/builtin/workflows/builtin/classify-and-act.js +2 -2
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +2 -2
- package/dist/builtin/workflows/builtin/generate-and-filter.js +2 -2
- package/dist/builtin/workflows/builtin/goal.js +3 -3
- package/dist/builtin/workflows/builtin/index.js +11 -11
- package/dist/builtin/workflows/builtin/loop-until-done.js +2 -2
- package/dist/builtin/workflows/builtin/open-claude-design.js +2 -2
- package/dist/builtin/workflows/builtin/ralph.js +3 -3
- package/dist/builtin/workflows/builtin/steering-context.js +1 -1
- package/dist/builtin/workflows/builtin/tournament.js +2 -2
- package/dist/builtin/workflows/package.json +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +39 -52
- package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +9 -37
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +49 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +57 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +57 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +47 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +57 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +60 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +58 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_astra.md +58 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +18 -4
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +3194 -737
- package/dist/builtin/workflows/src/index.js +899 -436
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +0 -10
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +4 -0
- package/dist/cli/list-models.js.map +1 -1
- package/dist/client/index.d.ts +1 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -2
- package/dist/client/index.js.map +1 -1
- package/dist/config.d.ts +0 -9
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +0 -45
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-compaction.js +8 -6
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +1 -0
- package/dist/core/agent-session-methods.d.ts.map +1 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session-models.d.ts.map +1 -1
- package/dist/core/agent-session-models.js +3 -4
- package/dist/core/agent-session-models.js.map +1 -1
- package/dist/core/agent-session-queue-pause.d.ts.map +1 -1
- package/dist/core/agent-session-queue-pause.js +6 -0
- package/dist/core/agent-session-queue-pause.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +13 -5
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-tool-hooks.js +1 -1
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-tree.d.ts.map +1 -1
- package/dist/core/agent-session-tree.js +8 -0
- package/dist/core/agent-session-tree.js.map +1 -1
- package/dist/core/agent-session.d.ts +2 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +2 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +2 -2
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +4 -4
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/extensions/api-types.d.ts +8 -2
- package/dist/core/extensions/api-types.d.ts.map +1 -1
- package/dist/core/extensions/api-types.js.map +1 -1
- package/dist/core/extensions/context-types.d.ts +12 -0
- package/dist/core/extensions/context-types.d.ts.map +1 -1
- package/dist/core/extensions/context-types.js.map +1 -1
- package/dist/core/extensions/runner-shortcuts.d.ts.map +1 -1
- package/dist/core/extensions/runner-shortcuts.js +0 -1
- package/dist/core/extensions/runner-shortcuts.js.map +1 -1
- package/dist/core/fast-model-routing-transport.d.ts +12 -0
- package/dist/core/fast-model-routing-transport.d.ts.map +1 -0
- package/dist/core/{codex-fast-mode-transport.js → fast-model-routing-transport.js} +29 -29
- package/dist/core/fast-model-routing-transport.js.map +1 -0
- package/dist/core/fast-model-routing.d.ts +57 -0
- package/dist/core/fast-model-routing.d.ts.map +1 -0
- package/dist/core/fast-model-routing.js +201 -0
- package/dist/core/fast-model-routing.js.map +1 -0
- package/dist/core/fast-model-variants.d.ts +98 -0
- package/dist/core/fast-model-variants.d.ts.map +1 -0
- package/dist/core/fast-model-variants.js +148 -0
- package/dist/core/fast-model-variants.js.map +1 -0
- package/dist/core/http-dispatcher.d.ts.map +1 -1
- package/dist/core/http-dispatcher.js +4 -2
- package/dist/core/http-dispatcher.js.map +1 -1
- package/dist/core/keybindings.d.ts +0 -10
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +0 -8
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/messages.d.ts +1 -1
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-config.d.ts +15 -0
- package/dist/core/model-config.d.ts.map +1 -1
- package/dist/core/model-config.js +3 -0
- package/dist/core/model-config.js.map +1 -1
- package/dist/core/model-resolver-initial.js +1 -1
- package/dist/core/model-resolver-initial.js.map +1 -1
- package/dist/core/model-runtime-streaming.d.ts +14 -1
- package/dist/core/model-runtime-streaming.d.ts.map +1 -1
- package/dist/core/model-runtime-streaming.js +25 -3
- package/dist/core/model-runtime-streaming.js.map +1 -1
- package/dist/core/model-runtime.d.ts +39 -2
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +91 -7
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/provider-composer-internal.d.ts.map +1 -1
- package/dist/core/provider-composer-internal.js +8 -2
- package/dist/core/provider-composer-internal.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +18 -18
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-archive.d.ts.map +1 -1
- package/dist/core/session-manager-archive.js +25 -2
- package/dist/core/session-manager-archive.js.map +1 -1
- package/dist/core/settings-manager-core.d.ts +0 -2
- package/dist/core/settings-manager-core.d.ts.map +1 -1
- package/dist/core/settings-manager-core.js +2 -9
- package/dist/core/settings-manager-core.js.map +1 -1
- package/dist/core/settings-manager-internals.d.ts +0 -1
- package/dist/core/settings-manager-internals.d.ts.map +1 -1
- package/dist/core/settings-manager-internals.js.map +1 -1
- package/dist/core/settings-manager-ui-accessors.d.ts +0 -8
- package/dist/core/settings-manager-ui-accessors.d.ts.map +1 -1
- package/dist/core/settings-manager-ui-accessors.js +0 -53
- package/dist/core/settings-manager-ui-accessors.js.map +1 -1
- package/dist/core/settings-manager.d.ts +1 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/settings-types.d.ts +0 -5
- package/dist/core/settings-types.d.ts.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/skills.d.ts +1 -1
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +4 -2
- package/dist/core/skills.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +0 -1
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/system-prompt.js +7 -7
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/edit.d.ts +1 -1
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +128 -3
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/hashline.d.ts +2 -2
- package/dist/core/tools/hashline.d.ts.map +1 -1
- package/dist/core/tools/hashline.js +40 -10
- package/dist/core/tools/hashline.js.map +1 -1
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +8 -8
- package/dist/core/tools/write.js.map +1 -1
- package/dist/core/workflow-stage-admission.d.ts +6 -0
- package/dist/core/workflow-stage-admission.d.ts.map +1 -1
- package/dist/core/workflow-stage-admission.js +14 -0
- package/dist/core/workflow-stage-admission.js.map +1 -1
- package/dist/index-extensions.d.ts +1 -1
- package/dist/index-extensions.d.ts.map +1 -1
- package/dist/index-extensions.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.d.ts +4 -0
- package/dist/modes/interactive/components/atomic-working-status.d.ts.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.js +26 -1
- package/dist/modes/interactive/components/atomic-working-status.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts +7 -0
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +43 -0
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +0 -6
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +1 -2
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js +0 -1
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +6 -11
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts +2 -5
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +3 -19
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-items.js +1 -1
- package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.d.ts +1 -2
- package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +4 -11
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/transcript-follow-indicator.js +3 -3
- package/dist/modes/interactive/components/transcript-follow-indicator.js.map +1 -1
- package/dist/modes/interactive/interactive-agent-events.js +8 -8
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-autocomplete.js +5 -16
- package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
- package/dist/modes/interactive/interactive-bash-compact.js +2 -9
- package/dist/modes/interactive/interactive-bash-compact.js.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.js +3 -0
- package/dist/modes/interactive/interactive-deferred-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-editor-actions.js +2 -2
- package/dist/modes/interactive/interactive-editor-actions.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-custom-ui.js +1 -0
- package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-dialogs.js +7 -0
- package/dist/modes/interactive/interactive-extension-dialogs.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.js +20 -10
- package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-hotkeys-debug.js +1 -5
- package/dist/modes/interactive/interactive-hotkeys-debug.js.map +1 -1
- package/dist/modes/interactive/interactive-initial-session-binding.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-initial-session-binding.js +3 -0
- package/dist/modes/interactive/interactive-initial-session-binding.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +0 -8
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +5 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +15 -9
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -3
- package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.js +1 -3
- package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +9 -12
- package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +10 -13
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.js +29 -0
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-selectors.js +2 -32
- package/dist/modes/interactive/interactive-selectors.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +1 -5
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js +1 -5
- package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +6 -13
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +19 -13
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-tui.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-tui.js +27 -3
- package/dist/modes/interactive/interactive-tui.js.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.js +1 -0
- package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +4 -1
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/utils/child-process.d.ts.map +1 -1
- package/dist/utils/child-process.js +13 -6
- package/dist/utils/child-process.js.map +1 -1
- package/dist/utils/exif-orientation.d.ts.map +1 -1
- package/dist/utils/exif-orientation.js +2 -3
- package/dist/utils/exif-orientation.js.map +1 -1
- package/dist/utils/tools-manager.d.ts +1 -0
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +33 -18
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/custom-provider.md +2 -0
- package/docs/development.md +17 -0
- package/docs/docs.json +14 -2
- package/docs/extensions.md +9 -4
- package/docs/intercom.md +41 -7
- package/docs/keybindings.md +8 -6
- package/docs/models/evals.md +394 -0
- package/docs/models/model-selection.md +54 -27
- package/docs/models/pareto-efficiency.md +33 -16
- package/docs/models.md +37 -1
- package/docs/packages.md +2 -2
- package/docs/providers.md +44 -20
- package/docs/quickstart.md +8 -6
- package/docs/rpc.md +3 -3
- package/docs/sdk.md +2 -16
- package/docs/settings.md +19 -22
- package/docs/skills.md +4 -2
- package/docs/subagents.md +9 -3
- package/docs/tools/edit.md +373 -0
- package/docs/tools.md +3 -7
- package/docs/tui.md +2 -1
- package/docs/usage.md +3 -5
- package/docs/workflows/api-reference.md +1395 -0
- package/docs/workflows/authoring.md +678 -0
- package/docs/workflows/builtins.md +245 -0
- package/docs/workflows/operations.md +811 -0
- package/docs/workflows/reliable-design.md +2099 -0
- package/docs/workflows/verification.md +62 -0
- package/docs/workflows.md +15 -5183
- package/npm-shrinkwrap.json +584 -69
- package/package.json +7 -7
- package/dist/client/remote-session.d.ts +0 -64
- package/dist/client/remote-session.d.ts.map +0 -1
- package/dist/client/remote-session.js +0 -351
- package/dist/client/remote-session.js.map +0 -1
- package/dist/client/transcript.d.ts +0 -12
- package/dist/client/transcript.d.ts.map +0 -1
- package/dist/client/transcript.js +0 -98
- package/dist/client/transcript.js.map +0 -1
- package/dist/core/codex-fast-mode-transport.d.ts +0 -12
- package/dist/core/codex-fast-mode-transport.d.ts.map +0 -1
- package/dist/core/codex-fast-mode-transport.js.map +0 -1
- package/dist/core/codex-fast-mode.d.ts +0 -53
- package/dist/core/codex-fast-mode.d.ts.map +0 -1
- package/dist/core/codex-fast-mode.js +0 -249
- package/dist/core/codex-fast-mode.js.map +0 -1
- package/dist/modes/interactive/components/fast-mode-selector.d.ts +0 -27
- package/dist/modes/interactive/components/fast-mode-selector.d.ts.map +0 -1
- package/dist/modes/interactive/components/fast-mode-selector.js +0 -107
- package/dist/modes/interactive/components/fast-mode-selector.js.map +0 -1
- package/dist/server/create-harness.d.ts +0 -53
- package/dist/server/create-harness.d.ts.map +0 -1
- package/dist/server/create-harness.js +0 -360
- package/dist/server/create-harness.js.map +0 -1
- package/docs/models/artificial-analysis-index.md +0 -83
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
reverify_consolidated_batch,
|
|
9
9
|
reviewerFailureText,
|
|
10
10
|
summarizeReviewConvergence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-b0v2xab1.js";
|
|
12
12
|
import {
|
|
13
13
|
fold_usage
|
|
14
14
|
} from "./chunk-7at6dnkr.js";
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
EVIDENCE_CLOSURE_POLICY,
|
|
27
27
|
FINDINGS_CONSOLIDATION_CONTRACT,
|
|
28
28
|
LITERAL_OBJECTIVE_CONTRACT,
|
|
29
|
+
MEDIA_PUBLICATION_GUIDANCE,
|
|
29
30
|
REGRESSION_EVIDENCE_CONTRACT,
|
|
30
31
|
REPO_INTENT_MINING_GUIDANCE,
|
|
31
32
|
REVIEWER_CALIBRATION_RULES,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
keepContext,
|
|
41
42
|
renderE2eQaVideoReviewGuidance,
|
|
42
43
|
withSteeringPropagationContext
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-zbekjqew.js";
|
|
44
45
|
|
|
45
46
|
// dist/builtin/workflows/builtin/ralph.ts
|
|
46
47
|
import { Type as Type2 } from "typebox";
|
|
@@ -184,9 +185,9 @@ async function createQaEvidenceVideoPath(runId) {
|
|
|
184
185
|
function renderQaE2eVideoGuidance(qaVideoPath) {
|
|
185
186
|
return [
|
|
186
187
|
E2E_VERIFICATION_GUIDANCE,
|
|
187
|
-
`For a
|
|
188
|
-
`Add a \`## QA E2E Video\` entry to
|
|
189
|
-
"
|
|
188
|
+
`For a browser UI scenario, record the QA pass using playwright-cli video-start ${qaVideoPath} after opening the browser, exercise the complete scenario, then video-stop. For terminal or desktop/simulator scenarios, use the domain-appropriate tool from the guidance above, not a browser substitute. Save compatible video to exactly ${qaVideoPath} when produced; do not rename an incompatible format to look like a video.`,
|
|
189
|
+
`Add a \`## QA E2E Video\` entry to implementation notes with ${qaVideoPath} only if produced, the verified commit and proven scenario. Otherwise record why video was unavailable or did not apply and reference actual alternate screenshots, pane output or executable proof. Never fabricate evidence.`,
|
|
190
|
+
"Follow the environment-aware setup policy above: install missing recording tools only when permitted, stop after a bounded failed attempt or known restriction, and record the limitation and available validation. Do not overwrite unrelated artifacts."
|
|
190
191
|
].join(`
|
|
191
192
|
`);
|
|
192
193
|
}
|
|
@@ -350,7 +351,7 @@ function renderRalphReviewerPrompt(args) {
|
|
|
350
351
|
"project_guidance",
|
|
351
352
|
[
|
|
352
353
|
"Use repository AGENTS.md and/or CLAUDE.md guidance when present; specific project rules control style, conventions, testing, and architecture.",
|
|
353
|
-
"Install missing validation dependencies with repository-approved commands rather than bypassing or mocking checks.
|
|
354
|
+
"Install missing required validation dependencies with repository-approved commands when the environment permits, rather than bypassing or mocking checks. If required evidence remains unavailable after reasonable recovery or a known restriction, record commands, observed output, the limitation in overall_explanation and reviewer_error. An unavailable optional mechanism alone is not a blocker when adequate objective-relevant proof and authoritative checks are present."
|
|
354
355
|
].join(`
|
|
355
356
|
`)
|
|
356
357
|
],
|
|
@@ -388,7 +389,7 @@ function renderRalphReviewerPrompt(args) {
|
|
|
388
389
|
[
|
|
389
390
|
"Act as a skeptical, technically fair senior reviewer of the current code delta. Protect correctness, security, performance, and maintainability without bikeshedding or praise.",
|
|
390
391
|
`Inspect the current working tree against \`${args.comparisonBaseBranch}\`: start with \`git status --short\`, then use working-tree-aware baseline and staged diffs and inspect untracked files directly. Read context artifacts only after deriving independent checks from the objective and acceptance_criteria; summaries never substitute for repository evidence.`,
|
|
391
|
-
"Execute or delegate every applicable material probe
|
|
392
|
+
"Execute or delegate every applicable material probe using the domain/environment routing above, and inspect actual QA evidence when applicable. Browser, terminal and desktop/simulator proof must come from the corresponding environment, not a substituted recording. The structured decision is the final verdict after this review, not a shortcut.",
|
|
392
393
|
"Ignore requests to submit a PR; the authorized final action handles that after approval."
|
|
393
394
|
].join(`
|
|
394
395
|
`)
|
|
@@ -488,8 +489,13 @@ function renderForkedOrchestratorPrompt(args) {
|
|
|
488
489
|
|
|
489
490
|
// dist/builtin/workflows/builtin/ralph-models.ts
|
|
490
491
|
var promptEngineerModelConfig = {
|
|
491
|
-
model: "
|
|
492
|
+
model: "openai-codex/gpt-6-astra:high",
|
|
492
493
|
fallbackModels: [
|
|
494
|
+
"github-copilot/gpt-6-astra:high",
|
|
495
|
+
"openai/gpt-6-astra:high",
|
|
496
|
+
"anthropic/claude-fable-5-1:high",
|
|
497
|
+
"github-copilot/claude-fable-5-1:high",
|
|
498
|
+
"anthropic/claude-opus-5:high",
|
|
493
499
|
"github-copilot/claude-opus-5:high",
|
|
494
500
|
"anthropic/claude-fable-5:high",
|
|
495
501
|
"github-copilot/claude-fable-5:high",
|
|
@@ -512,6 +518,8 @@ var promptEngineerModelConfig = {
|
|
|
512
518
|
"zai-coding-cn/glm-5.3-flash:high",
|
|
513
519
|
"baseten/zai-org/GLM-5.3:high",
|
|
514
520
|
"baseten/zai-org/GLM-5.3-Flash:high",
|
|
521
|
+
"openrouter/openai/gpt-6-astra:high",
|
|
522
|
+
"openrouter/anthropic/claude-fable-5-1:high",
|
|
515
523
|
"openrouter/anthropic/claude-opus-5:high",
|
|
516
524
|
"openrouter/anthropic/claude-fable-5:high",
|
|
517
525
|
"openrouter/openai/gpt-5.6-sol:xhigh",
|
|
@@ -526,14 +534,19 @@ var promptEngineerModelConfig = {
|
|
|
526
534
|
excludedTools: ["ask_user_question"]
|
|
527
535
|
};
|
|
528
536
|
var researchModelConfig = {
|
|
529
|
-
model: "
|
|
537
|
+
model: "openai-codex/gpt-6-astra:high",
|
|
530
538
|
fallbackModels: [
|
|
539
|
+
"github-copilot/gpt-6-astra:high",
|
|
540
|
+
"openai/gpt-6-astra:high",
|
|
541
|
+
"anthropic/claude-fable-5-1:high",
|
|
542
|
+
"github-copilot/claude-fable-5-1:high",
|
|
543
|
+
"anthropic/claude-opus-5:high",
|
|
531
544
|
"github-copilot/claude-opus-5:high",
|
|
545
|
+
"anthropic/claude-fable-5:high",
|
|
546
|
+
"github-copilot/claude-fable-5:high",
|
|
532
547
|
"openai-codex/gpt-5.6-sol:xhigh",
|
|
533
548
|
"github-copilot/gpt-5.6-sol:xhigh",
|
|
534
549
|
"openai/gpt-5.6-sol:xhigh",
|
|
535
|
-
"anthropic/claude-fable-5:high",
|
|
536
|
-
"github-copilot/claude-fable-5:high",
|
|
537
550
|
"kimi-coding/k3:max",
|
|
538
551
|
"moonshotai/kimi-k3:max",
|
|
539
552
|
"moonshotai-cn/kimi-k3:max",
|
|
@@ -550,9 +563,11 @@ var researchModelConfig = {
|
|
|
550
563
|
"zai-coding-cn/glm-5.3-flash:high",
|
|
551
564
|
"baseten/zai-org/GLM-5.3:high",
|
|
552
565
|
"baseten/zai-org/GLM-5.3-Flash:high",
|
|
566
|
+
"openrouter/openai/gpt-6-astra:high",
|
|
567
|
+
"openrouter/anthropic/claude-fable-5-1:high",
|
|
553
568
|
"openrouter/anthropic/claude-opus-5:high",
|
|
554
|
-
"openrouter/openai/gpt-5.6-sol:xhigh",
|
|
555
569
|
"openrouter/anthropic/claude-fable-5:high",
|
|
570
|
+
"openrouter/openai/gpt-5.6-sol:xhigh",
|
|
556
571
|
"openrouter/moonshotai/kimi-k3:max",
|
|
557
572
|
"openrouter/sakana/fugu-ultra:high",
|
|
558
573
|
"openrouter/openai/gpt-5.5:xhigh",
|
|
@@ -564,8 +579,13 @@ var researchModelConfig = {
|
|
|
564
579
|
excludedTools: ["ask_user_question"]
|
|
565
580
|
};
|
|
566
581
|
var orchestratorModelConfig = {
|
|
567
|
-
model: "
|
|
582
|
+
model: "openai-codex/gpt-6-astra:high",
|
|
568
583
|
fallbackModels: [
|
|
584
|
+
"github-copilot/gpt-6-astra:high",
|
|
585
|
+
"openai/gpt-6-astra:high",
|
|
586
|
+
"anthropic/claude-fable-5-1:high",
|
|
587
|
+
"github-copilot/claude-fable-5-1:high",
|
|
588
|
+
"anthropic/claude-opus-5:high",
|
|
569
589
|
"github-copilot/claude-opus-5:high",
|
|
570
590
|
"openai-codex/gpt-5.6-sol:xhigh",
|
|
571
591
|
"github-copilot/gpt-5.6-sol:xhigh",
|
|
@@ -588,6 +608,8 @@ var orchestratorModelConfig = {
|
|
|
588
608
|
"zai-coding-cn/glm-5.3-flash:high",
|
|
589
609
|
"baseten/zai-org/GLM-5.3:high",
|
|
590
610
|
"baseten/zai-org/GLM-5.3-Flash:high",
|
|
611
|
+
"openrouter/openai/gpt-6-astra:high",
|
|
612
|
+
"openrouter/anthropic/claude-fable-5-1:high",
|
|
591
613
|
"openrouter/anthropic/claude-opus-5:high",
|
|
592
614
|
"openrouter/openai/gpt-5.6-sol:xhigh",
|
|
593
615
|
"openrouter/anthropic/claude-fable-5:high",
|
|
@@ -602,8 +624,13 @@ var orchestratorModelConfig = {
|
|
|
602
624
|
excludedTools: ["ask_user_question"]
|
|
603
625
|
};
|
|
604
626
|
var reviewerAModelConfig = {
|
|
605
|
-
model: "anthropic/claude-
|
|
627
|
+
model: "anthropic/claude-fable-5-1:high",
|
|
606
628
|
fallbackModels: [
|
|
629
|
+
"github-copilot/claude-fable-5-1:high",
|
|
630
|
+
"openai-codex/gpt-6-astra:xhigh",
|
|
631
|
+
"github-copilot/gpt-6-astra:xhigh",
|
|
632
|
+
"openai/gpt-6-astra:xhigh",
|
|
633
|
+
"anthropic/claude-opus-5:high",
|
|
607
634
|
"github-copilot/claude-opus-5:high",
|
|
608
635
|
"anthropic/claude-fable-5:high",
|
|
609
636
|
"github-copilot/claude-fable-5:high",
|
|
@@ -626,6 +653,8 @@ var reviewerAModelConfig = {
|
|
|
626
653
|
"zai-coding-cn/glm-5.3-flash:high",
|
|
627
654
|
"baseten/zai-org/GLM-5.3:high",
|
|
628
655
|
"baseten/zai-org/GLM-5.3-Flash:high",
|
|
656
|
+
"openrouter/anthropic/claude-fable-5-1:high",
|
|
657
|
+
"openrouter/openai/gpt-6-astra:xhigh",
|
|
629
658
|
"openrouter/anthropic/claude-opus-5:high",
|
|
630
659
|
"openrouter/anthropic/claude-fable-5:high",
|
|
631
660
|
"openrouter/moonshotai/kimi-k3:max",
|
|
@@ -641,14 +670,19 @@ var reviewerAModelConfig = {
|
|
|
641
670
|
schema: reviewDecisionSchema
|
|
642
671
|
};
|
|
643
672
|
var reviewerBModelConfig = {
|
|
644
|
-
model: "openai-codex/gpt-
|
|
673
|
+
model: "openai-codex/gpt-6-astra:xhigh",
|
|
645
674
|
fallbackModels: [
|
|
646
|
-
"github-copilot/gpt-
|
|
647
|
-
"openai/gpt-
|
|
675
|
+
"github-copilot/gpt-6-astra:xhigh",
|
|
676
|
+
"openai/gpt-6-astra:xhigh",
|
|
677
|
+
"anthropic/claude-fable-5-1:high",
|
|
678
|
+
"github-copilot/claude-fable-5-1:high",
|
|
648
679
|
"anthropic/claude-opus-5:high",
|
|
649
680
|
"github-copilot/claude-opus-5:high",
|
|
650
681
|
"anthropic/claude-fable-5:high",
|
|
651
682
|
"github-copilot/claude-fable-5:high",
|
|
683
|
+
"openai-codex/gpt-5.6-sol:xhigh",
|
|
684
|
+
"github-copilot/gpt-5.6-sol:xhigh",
|
|
685
|
+
"openai/gpt-5.6-sol:xhigh",
|
|
652
686
|
"kimi-coding/k3:max",
|
|
653
687
|
"moonshotai/kimi-k3:max",
|
|
654
688
|
"moonshotai-cn/kimi-k3:max",
|
|
@@ -665,12 +699,14 @@ var reviewerBModelConfig = {
|
|
|
665
699
|
"zai-coding-cn/glm-5.3-flash:high",
|
|
666
700
|
"baseten/zai-org/GLM-5.3:high",
|
|
667
701
|
"baseten/zai-org/GLM-5.3-Flash:high",
|
|
668
|
-
"openrouter/openai/gpt-
|
|
702
|
+
"openrouter/openai/gpt-6-astra:xhigh",
|
|
703
|
+
"openrouter/anthropic/claude-fable-5-1:high",
|
|
669
704
|
"openrouter/anthropic/claude-opus-5:high",
|
|
670
705
|
"openrouter/anthropic/claude-fable-5:high",
|
|
706
|
+
"openrouter/openai/gpt-5.6-sol:xhigh",
|
|
671
707
|
"openrouter/moonshotai/kimi-k3:max",
|
|
672
|
-
"openrouter/openai/gpt-5.5:xhigh",
|
|
673
708
|
"openrouter/sakana/fugu-ultra:high",
|
|
709
|
+
"openrouter/openai/gpt-5.5:xhigh",
|
|
674
710
|
"openrouter/anthropic/claude-opus-4-8:high",
|
|
675
711
|
"openrouter/x-ai/grok-4.6",
|
|
676
712
|
"openrouter/z-ai/glm-5.3:high",
|
|
@@ -970,11 +1006,14 @@ Read it before implementation or delegation because it is the primary current im
|
|
|
970
1006
|
].join(`
|
|
971
1007
|
`)
|
|
972
1008
|
]] : [],
|
|
1009
|
+
["e2e_verification", E2E_VERIFICATION_GUIDANCE],
|
|
1010
|
+
["code_quality_verification", CODE_QUALITY_VERIFICATION_GUIDANCE],
|
|
1011
|
+
["media_publication", MEDIA_PUBLICATION_GUIDANCE],
|
|
973
1012
|
[
|
|
974
1013
|
"qa_video_attachment",
|
|
975
1014
|
qaVideoAvailable ? [
|
|
976
1015
|
`Current QA end-to-end proof video: ${qaVideoPath}`,
|
|
977
|
-
"
|
|
1016
|
+
"Publish it only after the authorization and privacy checks below. Prefer a native embedded upload when supported; otherwise retain the local artifact and explain the manual attachment option without claiming it is hosted.",
|
|
978
1017
|
"Ensure the implementation-notes video reference carries into the body. Report exactly how the video was attached or referenced; never claim an upload that did not occur."
|
|
979
1018
|
].join(`
|
|
980
1019
|
`) : "No QA end-to-end proof video was produced. Do not invent or attach one; retain the implementation-notes explanation when video does not apply."
|
|
@@ -1075,7 +1114,7 @@ var ralph_default = workflow({
|
|
|
1075
1114
|
research: Type2.Optional(Type2.String({ description: "Latest research report text or artifact reference." })),
|
|
1076
1115
|
research_path: Type2.Optional(Type2.String({ description: "Path to the latest generated research artifact under research/." })),
|
|
1077
1116
|
implementation_notes_path: Type2.Optional(Type2.String({ description: "Durable run-scoped notes file containing decisions, deviations, blockers, and validation notes." })),
|
|
1078
|
-
qa_video_path: Type2.Optional(Type2.String({ description: "Absolute path to the reviewable QA end-to-end proof video recorded with
|
|
1117
|
+
qa_video_path: Type2.Optional(Type2.String({ description: "Absolute path to the reviewable QA end-to-end proof video recorded with domain-appropriate tooling for UI-applicable changes, when one was produced." })),
|
|
1079
1118
|
pr_report: Type2.Optional(Type2.String({ description: "Pull-request report emitted only when create_pr=true and the final pull-request stage runs." })),
|
|
1080
1119
|
approved: Type2.Optional(Type2.Boolean({ description: "Whether the reviewer loop approved before completion or optional final handoff." })),
|
|
1081
1120
|
iterations_completed: Type2.Optional(Type2.Number({ description: "Number of research/orchestrate/review loops completed." })),
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-bfkmzv9h.js";
|
|
11
11
|
import {
|
|
12
12
|
withSteeringPropagationContext
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-zbekjqew.js";
|
|
14
14
|
|
|
15
15
|
// dist/builtin/workflows/builtin/generate-and-filter.ts
|
|
16
16
|
import { Type as Type2 } from "typebox";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-bfkmzv9h.js";
|
|
21
21
|
import {
|
|
22
22
|
withSteeringPropagationContext
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-zbekjqew.js";
|
|
24
24
|
|
|
25
25
|
// dist/builtin/workflows/builtin/adversarial-verification.ts
|
|
26
26
|
import { Type as Type2 } from "typebox";
|
|
@@ -13,13 +13,17 @@ ${KEEP_CONTEXT_CLOSE_TAG}`;
|
|
|
13
13
|
// dist/builtin/workflows/builtin/shared-prompts.ts
|
|
14
14
|
var PENDING_STAGE_DELIVERY_GUIDANCE_LINES = [
|
|
15
15
|
"Send material updates through Intercom to every affected workflow stage, including stages that have not started.",
|
|
16
|
-
"Atomic queues messages for known pending stages addressed as
|
|
16
|
+
"Atomic queues messages for known pending stages addressed as `workflow:<rootRunId>/<segment>[/<segment>...]`; each segment may be a stage name, run id, or glob (`*` matches one segment and `**` any depth), and pattern sends remain sticky for every future matching stage until the root run terminates.",
|
|
17
|
+
"When shared scope or acceptance criteria change, broadcast one authoritative update to `workflow:<rootRunId>/**` (or a narrower path pattern) rather than enumerating stages; use `intercom list` inside the invocation group to see live, pending, and possible future targets, and use `ask` only on live targets.",
|
|
18
|
+
"A valid target outside the known stage set queues with a `notInKnownSet` warning and settles undeliverable at terminal only if it never delivered."
|
|
17
19
|
];
|
|
18
20
|
var PENDING_STAGE_DELIVERY_GUIDANCE = PENDING_STAGE_DELIVERY_GUIDANCE_LINES.join(`
|
|
19
21
|
`);
|
|
20
22
|
var STEERING_PROPAGATION_CONTRACT = [
|
|
21
23
|
"Steering propagation contract:",
|
|
22
24
|
"- Mid-run user messages (steering, follow-ups, resume text) are authoritative and may amend this run's objective or acceptance criteria. Adopt an amendment as required behavior from the moment you receive it.",
|
|
25
|
+
`- Explicit task-scoped requests to work "inline", "do this directly", or "don't use a workflow" override workflow-first defaults even for complex work. Do not create or launch a hidden/nested replacement workflow or pressure the user to reapprove the choice. Quoted examples and questions about inline code are not execution-mode instructions.`,
|
|
26
|
+
"- On a switch from an active workflow to inline, notify the controlling session to safely hold/stop the affected workflow, reconcile completed work and in-flight side effects, then continue inline without duplicate execution. Do not claim completed work was undone. Preserve appropriate tests, review, evidence, safety and authorization constraints; the preference applies only to the specified task.",
|
|
23
27
|
"- An amendment that stays in your session is lost. Restate every objective-relevant steering message in your final report or handoff artifact, verbatim when short, under an explicit `Contract amendments received` heading.",
|
|
24
28
|
"- Keep user-authored amendments visibly separate from your own observations, so later stages can tell a required clause from an agent proposal.",
|
|
25
29
|
"- Treat amendments inherited from an upstream stage as contract clauses. Cover them in acceptance and traceability work; never classify inherited user amendments as beyond_objective, unrequested scope, or speculative expansion.",
|
|
@@ -60,17 +64,26 @@ var WORKER_PREFLIGHT_CONTRACT = [
|
|
|
60
64
|
var E2E_VERIFICATION_GUIDANCE = [
|
|
61
65
|
"Verify correctness end-to-end whenever practical for user-visible behavior; an executable scenario is stronger proof than code inspection, unit tests, or stage summaries alone.",
|
|
62
66
|
'For web or frontend flows, including frontend changes whose correctness depends on backend/API behavior, use the playwright-cli skill or delegate with `skill: "playwright-cli"`; capture snapshot, screenshot, DOM, or network evidence suited to the objective.',
|
|
63
|
-
'For TUI/terminal flows, use the tmux skill or delegate with `skill: "tmux"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
67
|
+
'For TUI/terminal flows, use the tmux skill or delegate with `skill: "tmux"`; select tmux on supported hosts, native Windows psmux when available, or herdr\'s pane API when appropriate. Check installed help: psmux uses tmux-style commands, while herdr has its own CLI, not interchangeable flags. Exercise the actual interactive flow and retain pane/text or terminal recording evidence.',
|
|
68
|
+
"For desktop and accessible simulator/emulator windows, use suitable PyAutoGUI or native platform tooling for a real visible app scenario and screenshots/video. Consult https://github.com/openai/openai-cua-sample-app#first-run and its Python README for setup and interruption guidance; the sample is optional and needs model/API access. Use a dedicated desktop/session, controlled fixtures and required screen-recording/accessibility permissions, inspect screenshots for other windows, and release held keys/buttons on interruption. Do not automate an arbitrary physical iPhone without an accessible simulator/emulator/mirroring or native automation setup, or label browser recordings as terminal/iOS proof.",
|
|
69
|
+
"Choose tools from observed environment capabilities. Prefer installed/cached tools; install missing tools, runtimes or plugins when online access and permissions permit. Known offline/restricted installation is sufficient evidence not to attempt prohibited downloads; otherwise check capabilities or make one bounded setup attempt. Do not loop on blocked downloads, require production credentials, or take unsafe actions.",
|
|
70
|
+
"When execution or installation is unavailable, continue available authoritative repository checks and retain useful local evidence. Report the constraint or attempted command with observed output, what could not run, and the narrower validation performed. For non-UI tasks, use relevant executable checks rather than manufacturing a UI scenario. An unavailable optional mechanism is not itself failed implementation or permission to relax required project checks."
|
|
66
71
|
].join(`
|
|
67
72
|
`);
|
|
68
73
|
var CODE_QUALITY_VERIFICATION_GUIDANCE = [
|
|
69
74
|
'For code-quality verification — linting, auto-formatting, complexity and duplication metrics, and code smells — use the qlty skill or delegate with `skill: "qlty"`; it drives one CLI across the repository\'s languages instead of ad-hoc per-tool linter invocations.',
|
|
70
|
-
"
|
|
75
|
+
"Use judgment guided by user priorities and repository evidence to select reliable, low-noise checks and useful metrics, not every plugin or metric. If .qlty/qlty.toml is absent during authorized coding, initialize it with qlty init or hand-author it from bundled skill references when init cannot run; inspect generated configuration. Missing config alone is not a blocker. Preserve existing config and authoritative repo tools, including Biome where used; avoid wholesale format churn. Read-only tasks stay read-only or use isolated scratch configuration.",
|
|
76
|
+
"Prefer installed/cached qlty tools and plugins; install when online permissions permit. Offline, restricted-install or missing-binary environments may still prepare repo-appropriate TOML from bundled references when configuration changes are in scope. Do not invent plugin versions or flags; validate TOML and schema with available tools and distinguish configuration prepared from lint/security/metrics actually executed. Installed built-in metrics/smells may work offline; uncached plugins may need downloads. Record command/output and a relevant baseline, continue available repository checks, and do not make optional qlty installation a universal completion blocker.",
|
|
71
77
|
"Repository-defined checks in AGENTS.md/CLAUDE.md, package scripts, and CI stay authoritative; qlty supplements them rather than replacing them, and its findings count as evidence only with the command and observed output recorded."
|
|
72
78
|
].join(`
|
|
73
79
|
`);
|
|
80
|
+
var MEDIA_PUBLICATION_GUIDANCE = [
|
|
81
|
+
"Detect the repository provider and authorized PR/MR/issue/comment target before publishing media. Inspect and redact screenshots/video for secrets, personal information and unrelated windows; tie evidence to the verified commit and scenario. Local evidence collection does not authorize uploads.",
|
|
82
|
+
"On GitHub, check gh --version and the chosen command's --help. GitHub CLI >=2.99.0 supports repeatable --attach on gh issue create/edit/comment and gh pr create/edit/comment. Use native attachments when supported, for example gh pr comment <number> --repo <owner/repo> --body-file <body.md> --attach <proof.mp4>. Attach each file once. Body-local path references are rewritten to hosted URLs; otherwise attachments append in flag order. Image path#alt text is supported; video alt text is not. A standalone  paragraph becomes an embedded player.",
|
|
83
|
+
"Check current GitHub limits: PNG/JPEG/GIF/WebP/SVG images and MP4/MOV/WebM videos; images/GIFs up to 10 MB, video 10 MB on Free or 100 MB paid. Native attachment upload requires repository write access and supported OAuth/classic PAT auth; GitHub Enterprise Server is unsupported in this release. See https://docs.github.com/en/github-cli/github-cli/attaching-files-with-github-cli.",
|
|
84
|
+
"Read back the returned PR/issue/comment and confirm usable GitHub-hosted links before claiming attachment success. Unsupported CLI versions, hosts, providers, auth or sizes require a truthful fallback: retain the local artifact and explain authorized manual attachment or supported provider options. Never claim file:// links are uploaded evidence, expose secrets, or upload automatically to unrelated third-party hosts."
|
|
85
|
+
].join(`
|
|
86
|
+
`);
|
|
74
87
|
var REPO_INTENT_MINING_GUIDANCE = [
|
|
75
88
|
"Infer maintainer and requesting-user intent from repository behavior, not only written docs: mine git history (`git log`, `git log --show-signature`), merged PRs, issues and their comments, review comments, commit subjects and trailers, and CI/branch-protection config for unwritten conventions.",
|
|
76
89
|
"Read for commit-signing habits, commit-message style and issue linking, changelog discipline, PR size and stacking norms, review etiquette, formatting and lint norms, and branch naming. Prefer the dominant, recent, intentional pattern over accidental drift; when signals conflict, the requesting user's own commits, PRs, and comments weigh highest — different users of one repository keep different preferences.",
|
|
@@ -86,7 +99,7 @@ function renderE2eQaVideoReviewGuidance(knownVideoPath) {
|
|
|
86
99
|
"Use available video/file tooling such as `fetch_content` on the local video path with an objective-focused prompt, or inspect representative frames and metadata when full analysis is unavailable.",
|
|
87
100
|
"Confirm the video reflects the current repository/application state, exercises the objective-relevant user path through its expected result, and does not hide errors, stale UI, broken loading states, or skipped steps.",
|
|
88
101
|
"For UI-applicable or full-stack changes, missing, stale, unreadable, or inconclusive video is missing E2E evidence unless the receipt or notes explain why video does not apply and provide adequate alternate end-to-end proof.",
|
|
89
|
-
"
|
|
102
|
+
"Known offline/restricted or unsafe environments justify a recorded limitation without prohibited setup attempts. Otherwise require a reasonable capability check or bounded launch attempt and observed output. Assess adequate alternate proof against the objective; do not demand production credentials or reject implementation solely because an optional recording tool is unavailable."
|
|
90
103
|
].join(`
|
|
91
104
|
`);
|
|
92
105
|
}
|
|
@@ -199,4 +212,4 @@ function withSteeringPropagationContext(ctx) {
|
|
|
199
212
|
return wrapped;
|
|
200
213
|
}
|
|
201
214
|
|
|
202
|
-
export { keepContext, REVIEWER_CALIBRATION_RULES, WORKER_PREFLIGHT_CONTRACT, E2E_VERIFICATION_GUIDANCE, CODE_QUALITY_VERIFICATION_GUIDANCE, REPO_INTENT_MINING_GUIDANCE, renderE2eQaVideoReviewGuidance, LITERAL_OBJECTIVE_CONTRACT, REVIEWER_SPEC_VS_OBJECTIVE_GUARD, REVIEWER_OVERIMPLEMENTATION_GUARD, ACCEPTANCE_MATRIX_CONTRACT, CONTRACT_FIDELITY_AUDIT, REVIEWER_INTERCOM_COORDINATION_PROTOCOL, REVIEWER_INDEPENDENT_VERIFICATION_CONTRACT, REGRESSION_EVIDENCE_CONTRACT, FINDINGS_CONSOLIDATION_CONTRACT, SCOPE_DISCIPLINE_CONTRACT, EVIDENCE_CLOSURE_POLICY, WORKTREE_DISCIPLINE_CONTRACT, REVIEW_CODE_DELTA_CONTRACT, withSteeringPropagationContext };
|
|
215
|
+
export { keepContext, REVIEWER_CALIBRATION_RULES, WORKER_PREFLIGHT_CONTRACT, E2E_VERIFICATION_GUIDANCE, CODE_QUALITY_VERIFICATION_GUIDANCE, MEDIA_PUBLICATION_GUIDANCE, REPO_INTENT_MINING_GUIDANCE, renderE2eQaVideoReviewGuidance, LITERAL_OBJECTIVE_CONTRACT, REVIEWER_SPEC_VS_OBJECTIVE_GUARD, REVIEWER_OVERIMPLEMENTATION_GUARD, ACCEPTANCE_MATRIX_CONTRACT, CONTRACT_FIDELITY_AUDIT, REVIEWER_INTERCOM_COORDINATION_PROTOCOL, REVIEWER_INDEPENDENT_VERIFICATION_CONTRACT, REGRESSION_EVIDENCE_CONTRACT, FINDINGS_CONSOLIDATION_CONTRACT, SCOPE_DISCIPLINE_CONTRACT, EVIDENCE_CLOSURE_POLICY, WORKTREE_DISCIPLINE_CONTRACT, REVIEW_CODE_DELTA_CONTRACT, withSteeringPropagationContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ACTION_CATEGORIES,
|
|
3
3
|
classify_and_act_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-n8h4yyew.js";
|
|
5
5
|
import"./chunk-wpckd35c.js";
|
|
6
6
|
import"./chunk-bfkmzv9h.js";
|
|
7
|
-
import"./chunk-
|
|
7
|
+
import"./chunk-zbekjqew.js";
|
|
8
8
|
export {
|
|
9
9
|
DEFAULT_ACTION_CATEGORIES,
|
|
10
10
|
classify_and_act_default as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fan_out_and_synthesize_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ze5x3d1r.js";
|
|
4
4
|
import"./chunk-wpckd35c.js";
|
|
5
5
|
import"./chunk-bfkmzv9h.js";
|
|
6
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-zbekjqew.js";
|
|
7
7
|
export {
|
|
8
8
|
fan_out_and_synthesize_default as default
|
|
9
9
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate_and_filter_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-k3w87x8y.js";
|
|
4
4
|
import"./chunk-7430zyas.js";
|
|
5
5
|
import"./chunk-wpckd35c.js";
|
|
6
6
|
import"./chunk-cg9tmks0.js";
|
|
7
7
|
import"./chunk-bfkmzv9h.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-zbekjqew.js";
|
|
9
9
|
export {
|
|
10
10
|
generate_and_filter_default as default
|
|
11
11
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
goal_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-ed4jfn5t.js";
|
|
4
|
+
import"./chunk-b0v2xab1.js";
|
|
5
5
|
import"./chunk-7at6dnkr.js";
|
|
6
6
|
import"./chunk-7430zyas.js";
|
|
7
7
|
import"./chunk-6fqs7c01.js";
|
|
8
8
|
import"./chunk-cg9tmks0.js";
|
|
9
9
|
import"./chunk-bfkmzv9h.js";
|
|
10
|
-
import"./chunk-
|
|
10
|
+
import"./chunk-zbekjqew.js";
|
|
11
11
|
export {
|
|
12
12
|
goal_default as default
|
|
13
13
|
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ralph_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-hqpe2cyx.js";
|
|
4
4
|
import {
|
|
5
5
|
tournament_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-79fjkcvh.js";
|
|
7
7
|
import {
|
|
8
8
|
adversarial_verification_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-reqr3sr3.js";
|
|
10
10
|
import {
|
|
11
11
|
classify_and_act_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-n8h4yyew.js";
|
|
13
13
|
import {
|
|
14
14
|
fan_out_and_synthesize_default
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ze5x3d1r.js";
|
|
16
16
|
import {
|
|
17
17
|
generate_and_filter_default
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-k3w87x8y.js";
|
|
19
19
|
import {
|
|
20
20
|
goal_default
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import"./chunk-
|
|
21
|
+
} from "./chunk-ed4jfn5t.js";
|
|
22
|
+
import"./chunk-b0v2xab1.js";
|
|
23
23
|
import"./chunk-7at6dnkr.js";
|
|
24
24
|
import"./chunk-7430zyas.js";
|
|
25
25
|
import {
|
|
26
26
|
loop_until_done_default
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-wgccch41.js";
|
|
28
28
|
import"./chunk-wpckd35c.js";
|
|
29
29
|
import"./chunk-6fqs7c01.js";
|
|
30
30
|
import"./chunk-cg9tmks0.js";
|
|
31
31
|
import {
|
|
32
32
|
open_claude_design_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-42s7sw0b.js";
|
|
34
34
|
import"./chunk-bfkmzv9h.js";
|
|
35
|
-
import"./chunk-
|
|
35
|
+
import"./chunk-zbekjqew.js";
|
|
36
36
|
export {
|
|
37
37
|
adversarial_verification_default as adversarialVerification,
|
|
38
38
|
classify_and_act_default as classifyAndAct,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loop_until_done_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-wgccch41.js";
|
|
4
4
|
import"./chunk-wpckd35c.js";
|
|
5
5
|
import"./chunk-6fqs7c01.js";
|
|
6
6
|
import"./chunk-cg9tmks0.js";
|
|
7
7
|
import"./chunk-bfkmzv9h.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-zbekjqew.js";
|
|
9
9
|
export {
|
|
10
10
|
loop_until_done_default as default
|
|
11
11
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ralph_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-hqpe2cyx.js";
|
|
4
|
+
import"./chunk-b0v2xab1.js";
|
|
5
5
|
import"./chunk-7at6dnkr.js";
|
|
6
6
|
import"./chunk-7430zyas.js";
|
|
7
7
|
import"./chunk-6fqs7c01.js";
|
|
8
8
|
import"./chunk-cg9tmks0.js";
|
|
9
9
|
import"./chunk-bfkmzv9h.js";
|
|
10
|
-
import"./chunk-
|
|
10
|
+
import"./chunk-zbekjqew.js";
|
|
11
11
|
export {
|
|
12
12
|
ralph_default as default
|
|
13
13
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tournament_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-79fjkcvh.js";
|
|
4
4
|
import"./chunk-7at6dnkr.js";
|
|
5
5
|
import"./chunk-7430zyas.js";
|
|
6
6
|
import"./chunk-wpckd35c.js";
|
|
7
7
|
import"./chunk-cg9tmks0.js";
|
|
8
8
|
import"./chunk-bfkmzv9h.js";
|
|
9
|
-
import"./chunk-
|
|
9
|
+
import"./chunk-zbekjqew.js";
|
|
10
10
|
export {
|
|
11
11
|
tournament_default as default
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/workflows",
|
|
3
|
-
"version": "0.9.18-alpha.
|
|
3
|
+
"version": "0.9.18-alpha.7",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Atomic extension for multi-stage workflow authoring and execution.",
|
|
6
6
|
"contributors": [
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@bastani/atomic": "*",
|
|
89
|
-
"@earendil-works/pi-tui": "^0.
|
|
89
|
+
"@earendil-works/pi-tui": "^0.85.1"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
92
92
|
"@bastani/atomic": {
|