@bastani/atomic 0.9.20-alpha.5 → 0.9.20-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 +73 -0
- package/README.md +37 -0
- package/dist/builtin/intercom/CHANGELOG.md +10 -0
- package/dist/builtin/intercom/broker/broker.ts +110 -39
- package/dist/builtin/intercom/broker/client.ts +8 -1
- package/dist/builtin/intercom/index.bundle.mjs +61 -2
- package/dist/builtin/intercom/live-route-refusal.ts +69 -0
- package/dist/builtin/intercom/package.json +2 -2
- package/dist/builtin/intercom/recoverable-disconnect.ts +16 -4
- package/dist/builtin/intercom/skills/intercom/SKILL.md +11 -11
- package/dist/builtin/intercom/types.ts +3 -1
- package/dist/builtin/mcp/package.json +2 -2
- package/dist/builtin/subagents/CHANGELOG.md +12 -0
- package/dist/builtin/subagents/package.json +3 -3
- package/dist/builtin/subagents/skills/cua-driver/BROWSER.md +494 -0
- package/dist/builtin/subagents/skills/cua-driver/EMBEDDING.md +578 -0
- package/dist/builtin/subagents/skills/cua-driver/LINUX.md +364 -0
- package/dist/builtin/subagents/skills/cua-driver/MACOS.md +509 -0
- package/dist/builtin/subagents/skills/cua-driver/README.md +113 -0
- package/dist/builtin/subagents/skills/cua-driver/RECORDING.md +162 -0
- package/dist/builtin/subagents/skills/cua-driver/SKILL.md +1105 -0
- package/dist/builtin/subagents/skills/cua-driver/WINDOWS.md +866 -0
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +18 -8
- package/dist/builtin/web-access/package.json +2 -2
- package/dist/builtin/workflows/CHANGELOG.md +34 -0
- package/dist/builtin/workflows/README.md +5 -19
- package/dist/builtin/workflows/builtin/adversarial-verification.js +3 -3
- package/dist/builtin/workflows/builtin/{chunk-7f381xnq.js → chunk-2hzrv5y8.js} +140 -21
- package/dist/builtin/workflows/builtin/{chunk-e83tc6nr.js → chunk-3tx8ry44.js} +3 -2
- package/dist/builtin/workflows/builtin/{chunk-00ywx588.js → chunk-5724b0cf.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-zj5162bh.js → chunk-7bzcersz.js} +33 -22
- package/dist/builtin/workflows/builtin/{chunk-ne6vh5ct.js → chunk-7n51c5gh.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-x2nftpgj.js → chunk-9z3ztr2a.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-7h7s5xdj.js → chunk-dxjxtgmp.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-tvcydq13.js → chunk-ffdrv23t.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-pfm1kgqz.js → chunk-hmt5w62g.js} +12 -4
- package/dist/builtin/workflows/builtin/{chunk-tdqvdrg1.js → chunk-jngsbbpm.js} +3 -3
- package/dist/builtin/workflows/builtin/{chunk-55p5dxjk.js → chunk-njmf5ze7.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-evfb0312.js → chunk-vn0wb31x.js} +1 -1
- package/dist/builtin/workflows/builtin/classify-and-act.js +3 -3
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +3 -3
- package/dist/builtin/workflows/builtin/generate-and-filter.js +3 -3
- package/dist/builtin/workflows/builtin/goal.js +4 -4
- package/dist/builtin/workflows/builtin/index.js +12 -12
- package/dist/builtin/workflows/builtin/loop-until-done.js +3 -3
- package/dist/builtin/workflows/builtin/open-claude-design.js +3 -3
- package/dist/builtin/workflows/builtin/ralph.js +4 -4
- package/dist/builtin/workflows/builtin/steering-context.js +1 -1
- package/dist/builtin/workflows/builtin/tournament.js +3 -3
- package/dist/builtin/workflows/package.json +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +10 -9
- package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +4 -4
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +96 -23
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +75 -27
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +72 -26
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +58 -22
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5_5.md +118 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +70 -29
- package/dist/builtin/workflows/skills/prompt-engineer/references/core_prompting.md +1 -1
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +95 -32
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +79 -30
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6.md +139 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +4 -4
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +446 -639
- package/dist/builtin/workflows/src/index.js +1434 -1277
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +15 -4
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/file-processor.d.ts +1 -1
- package/dist/cli/file-processor.d.ts.map +1 -1
- package/dist/cli/file-processor.js.map +1 -1
- package/dist/core/agent-session-auto-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-auto-compaction.js +40 -12
- package/dist/core/agent-session-auto-compaction.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +9 -8
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-boundaries.d.ts +68 -0
- package/dist/core/agent-session-boundaries.d.ts.map +1 -0
- package/dist/core/agent-session-boundaries.js +334 -0
- package/dist/core/agent-session-boundaries.js.map +1 -0
- package/dist/core/agent-session-compaction.js +1 -1
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-events.d.ts.map +1 -1
- package/dist/core/agent-session-events.js +27 -13
- package/dist/core/agent-session-events.js.map +1 -1
- package/dist/core/agent-session-export.d.ts.map +1 -1
- package/dist/core/agent-session-export.js +16 -20
- package/dist/core/agent-session-export.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +6 -3
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +33 -4
- 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-persistent-custom-messages.d.ts.map +1 -1
- package/dist/core/agent-session-persistent-custom-messages.js +2 -1
- package/dist/core/agent-session-persistent-custom-messages.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +93 -25
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-retry.d.ts.map +1 -1
- package/dist/core/agent-session-retry.js +4 -9
- package/dist/core/agent-session-retry.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +4 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +7 -1
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-tasks.d.ts +9 -0
- package/dist/core/agent-session-tasks.d.ts.map +1 -1
- package/dist/core/agent-session-tasks.js +68 -16
- package/dist/core/agent-session-tasks.js.map +1 -1
- package/dist/core/agent-session-tool-hooks.d.ts.map +1 -1
- package/dist/core/agent-session-tool-hooks.js +15 -5
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +9 -21
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/agent-session-tree.d.ts.map +1 -1
- package/dist/core/agent-session-tree.js +2 -3
- package/dist/core/agent-session-tree.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +8 -0
- package/dist/core/agent-session-types.d.ts.map +1 -1
- package/dist/core/agent-session-types.js.map +1 -1
- package/dist/core/agent-session.d.ts +18 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +22 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +1 -0
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction/compaction-boundary.d.ts.map +1 -1
- package/dist/core/compaction/compaction-boundary.js +11 -6
- package/dist/core/compaction/compaction-boundary.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +3 -1
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +37 -0
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/crash-log.d.ts +6 -0
- package/dist/core/crash-log.d.ts.map +1 -0
- package/dist/core/crash-log.js +69 -0
- package/dist/core/crash-log.js.map +1 -0
- package/dist/core/execution-model-router.d.ts +15 -0
- package/dist/core/execution-model-router.d.ts.map +1 -1
- package/dist/core/execution-model-router.js +82 -33
- package/dist/core/execution-model-router.js.map +1 -1
- package/dist/core/export-html/template-js/tree-filter-render.js +6 -1
- package/dist/core/export-html/template.js +6 -1
- package/dist/core/extensions/agent-events.d.ts +69 -3
- package/dist/core/extensions/agent-events.d.ts.map +1 -1
- package/dist/core/extensions/agent-events.js.map +1 -1
- package/dist/core/extensions/api-types.d.ts +5 -3
- 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/event-results.d.ts +3 -0
- package/dist/core/extensions/event-results.d.ts.map +1 -1
- package/dist/core/extensions/event-results.js.map +1 -1
- package/dist/core/extensions/event-types.d.ts +2 -2
- package/dist/core/extensions/event-types.d.ts.map +1 -1
- package/dist/core/extensions/event-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/provider-types.d.ts +2 -0
- package/dist/core/extensions/provider-types.d.ts.map +1 -1
- package/dist/core/extensions/provider-types.js.map +1 -1
- package/dist/core/extensions/runner-events.d.ts +16 -2
- package/dist/core/extensions/runner-events.d.ts.map +1 -1
- package/dist/core/extensions/runner-events.js +98 -5
- package/dist/core/extensions/runner-events.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +3 -2
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +4 -1
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/fast-model-variants.d.ts +16 -0
- package/dist/core/fast-model-variants.d.ts.map +1 -1
- package/dist/core/fast-model-variants.js +27 -0
- package/dist/core/fast-model-variants.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/messages.d.ts +10 -0
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +57 -0
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-config.d.ts +52 -0
- package/dist/core/model-config.d.ts.map +1 -1
- package/dist/core/model-config.js +16 -0
- package/dist/core/model-config.js.map +1 -1
- package/dist/core/model-resolver-defaults.d.ts.map +1 -1
- package/dist/core/model-resolver-defaults.js +2 -1
- package/dist/core/model-resolver-defaults.js.map +1 -1
- package/dist/core/model-runtime.d.ts +13 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +16 -1
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/prompt-templates-async.d.ts +2 -2
- package/dist/core/prompt-templates-async.d.ts.map +1 -1
- package/dist/core/prompt-templates-async.js +57 -29
- package/dist/core/prompt-templates-async.js.map +1 -1
- package/dist/core/prompt-templates.d.ts +6 -1
- package/dist/core/prompt-templates.d.ts.map +1 -1
- package/dist/core/prompt-templates.js +61 -35
- package/dist/core/prompt-templates.js.map +1 -1
- package/dist/core/provider-composer-internal.d.ts +1 -0
- package/dist/core/provider-composer-internal.d.ts.map +1 -1
- package/dist/core/provider-composer-internal.js +19 -0
- package/dist/core/provider-composer-internal.js.map +1 -1
- package/dist/core/resource-loader-assets.d.ts.map +1 -1
- package/dist/core/resource-loader-assets.js +6 -6
- package/dist/core/resource-loader-assets.js.map +1 -1
- package/dist/core/sdk-types.d.ts +5 -0
- package/dist/core/sdk-types.d.ts.map +1 -1
- package/dist/core/sdk-types.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +7 -2
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-core.d.ts +10 -3
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +65 -7
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-entries.d.ts +4 -1
- package/dist/core/session-manager-entries.d.ts.map +1 -1
- package/dist/core/session-manager-entries.js +8 -0
- package/dist/core/session-manager-entries.js.map +1 -1
- package/dist/core/session-manager-history.d.ts +16 -1
- package/dist/core/session-manager-history.d.ts.map +1 -1
- package/dist/core/session-manager-history.js +105 -42
- package/dist/core/session-manager-history.js.map +1 -1
- package/dist/core/session-manager-types.d.ts +30 -3
- package/dist/core/session-manager-types.d.ts.map +1 -1
- package/dist/core/session-manager-types.js.map +1 -1
- package/dist/core/session-manager.d.ts +2 -2
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +1 -1
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/structured-output/index.d.ts +1 -1
- package/dist/core/structured-output/index.d.ts.map +1 -1
- package/dist/core/structured-output/index.js +37 -41
- package/dist/core/structured-output/index.js.map +1 -1
- package/dist/core/structured-output/jev-client.d.ts +13 -8
- package/dist/core/structured-output/jev-client.d.ts.map +1 -1
- package/dist/core/structured-output/jev-client.js +90 -32
- package/dist/core/structured-output/jev-client.js.map +1 -1
- package/dist/core/structured-output/jev.d.ts.map +1 -1
- package/dist/core/structured-output/jev.js +38 -64
- package/dist/core/structured-output/jev.js.map +1 -1
- package/dist/core/structured-output/resolver.d.ts +32 -24
- package/dist/core/structured-output/resolver.d.ts.map +1 -1
- package/dist/core/structured-output/resolver.js +57 -9
- package/dist/core/structured-output/resolver.js.map +1 -1
- package/dist/core/structured-output/types.d.ts +8 -6
- package/dist/core/structured-output/types.d.ts.map +1 -1
- package/dist/core/structured-output/types.js.map +1 -1
- package/dist/core/system-prompt.js +1 -1
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tasks/child-command-owner.d.ts +34 -0
- package/dist/core/tasks/child-command-owner.d.ts.map +1 -0
- package/dist/core/tasks/child-command-owner.js +70 -0
- package/dist/core/tasks/child-command-owner.js.map +1 -0
- package/dist/core/tools/bash-pty-native.d.ts +5 -1
- package/dist/core/tools/bash-pty-native.d.ts.map +1 -1
- package/dist/core/tools/bash-pty-native.js +15 -7
- package/dist/core/tools/bash-pty-native.js.map +1 -1
- package/dist/core/tools/kill.d.ts +2 -2
- package/dist/core/tools/kill.d.ts.map +1 -1
- package/dist/core/tools/kill.js +3 -4
- package/dist/core/tools/kill.js.map +1 -1
- package/dist/core/tools/read.d.ts +4 -0
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +5 -1
- package/dist/core/tools/read.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 +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/main-app-mode.d.ts +1 -1
- package/dist/main-app-mode.d.ts.map +1 -1
- package/dist/main-app-mode.js +3 -2
- package/dist/main-app-mode.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js +6 -0
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-model.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-model.js +1 -0
- package/dist/modes/interactive/components/tree-selector-model.js.map +1 -1
- package/dist/modes/interactive/interactive-agent-events.js +17 -1
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.js +2 -4
- package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode-helpers.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.js +16 -0
- package/dist/modes/interactive/interactive-mode-helpers.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +1 -0
- 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-process-lifecycle.js +13 -1
- package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js +5 -1
- package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.d.ts +16 -0
- package/dist/modes/interactive-engine/isolated-auth.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.js +27 -0
- package/dist/modes/interactive-engine/isolated-auth.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +4 -0
- 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/modes/rpc/rpc-client-api.d.ts +2 -1
- package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-api.js +7 -2
- package/dist/modes/rpc/rpc-client-api.js.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.js +3 -1
- package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts +2 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.js +2 -2
- package/dist/modes/rpc/rpc-provider-auth.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +2 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/utils/mime.js +1 -1
- package/dist/utils/mime.js.map +1 -1
- package/dist/utils/tool-result-images.d.ts +3 -1
- package/dist/utils/tool-result-images.d.ts.map +1 -1
- package/dist/utils/tool-result-images.js +4 -1
- package/dist/utils/tool-result-images.js.map +1 -1
- package/docs/background-tasks.md +11 -2
- package/docs/compaction.md +5 -1
- package/docs/computer-use.md +105 -56
- package/docs/environment-variables.md +1 -1
- package/docs/extensions/events.md +75 -7
- package/docs/extensions.md +6 -2
- package/docs/getting-started/first-session.md +3 -2
- package/docs/intercom/operations.md +13 -1
- package/docs/intercom.md +1 -1
- package/docs/llama-cpp.md +2 -2
- package/docs/models/evals.md +108 -118
- package/docs/models/reference.md +31 -3
- package/docs/packages.md +2 -0
- package/docs/prompt-templates.md +1 -0
- package/docs/providers.md +19 -6
- package/docs/reference/cli.md +2 -2
- package/docs/rpc/examples.md +2 -0
- package/docs/sdk/reference.md +2 -3
- package/docs/sdk/structured-decisions.md +25 -18
- package/docs/sdk.md +13 -2
- package/docs/session-format.md +17 -2
- package/docs/settings.md +8 -8
- package/docs/skills.md +8 -2
- package/docs/subagents/reference.md +4 -4
- package/docs/subagents.md +2 -2
- package/docs/workflows/api-reference.md +7 -34
- package/docs/workflows/authoring.md +191 -0
- package/docs/workflows/builtins.md +1 -1
- package/docs/workflows/operations.md +18 -78
- package/docs/workflows/reliable-design.md +14 -29
- package/docs/workflows/verification.md +21 -8
- package/docs/workflows.md +8 -7
- package/examples/rpc-client.ts +38 -0
- package/examples/rpc-extension-ui.ts +19 -5
- package/examples/sdk/README.md +1 -1
- package/npm-shrinkwrap.json +69 -69
- package/package.json +8 -8
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_astra.md +0 -58
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workflow,
|
|
3
3
|
withBuiltinContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5724b0cf.js";
|
|
5
5
|
|
|
6
6
|
// dist/builtin/workflows/builtin/open-claude-design.ts
|
|
7
7
|
import { Type as Type2 } from "typebox";
|
|
@@ -75,7 +75,7 @@ function prepareArtifactDir(cwd = process.cwd()) {
|
|
|
75
75
|
join(tmpArtifactBase(), runId),
|
|
76
76
|
join(tmpdir(), "open-claude-design", runId)
|
|
77
77
|
];
|
|
78
|
-
const candidates = [join(cwd, "specs", "design", runId), ...tmpCandidates];
|
|
78
|
+
const candidates = process.env.NODE_ENV === "test" ? tmpCandidates : [join(cwd, "specs", "design", runId), ...tmpCandidates];
|
|
79
79
|
for (const candidate of candidates) {
|
|
80
80
|
try {
|
|
81
81
|
mkdirSync(candidate, { recursive: true });
|
|
@@ -134,7 +134,15 @@ function ensureAgentBrowser() {
|
|
|
134
134
|
summary: "agent-browser already on PATH; skipped install."
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
|
-
if (
|
|
137
|
+
if (process.env.NODE_ENV === "test") {
|
|
138
|
+
return {
|
|
139
|
+
available: false,
|
|
140
|
+
alreadyPresent: false,
|
|
141
|
+
installed: false,
|
|
142
|
+
summary: "agent-browser not found; skipped global install under the test environment.",
|
|
143
|
+
error: "global install skipped during tests"
|
|
144
|
+
};
|
|
145
|
+
}
|
|
138
146
|
try {
|
|
139
147
|
const install = spawnSync("npm", ["install", "-g", "agent-browser"], {
|
|
140
148
|
stdio: "ignore",
|
|
@@ -801,7 +809,7 @@ async function runOpenClaudeDesignWorkflow(ctx) {
|
|
|
801
809
|
spec_path: specPath,
|
|
802
810
|
spec_file_url: specFileUrl
|
|
803
811
|
};
|
|
804
|
-
if (shouldEarlyExitForBrowser(agentBrowser.available,
|
|
812
|
+
if (shouldEarlyExitForBrowser(agentBrowser.available, process.env.NODE_ENV) && typeof designContext.exit === "function") {
|
|
805
813
|
designContext.exit({
|
|
806
814
|
reason: `open-claude-design needs the agent-browser skill's browser for interactive design review, which is unavailable (${agentBrowser.error ?? agentBrowser.summary}). No design was generated. Install it (\`npm install -g agent-browser\` + \`agent-browser install\`) and re-run.`,
|
|
807
815
|
outputs: partialArtifactOutputs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workflow,
|
|
3
3
|
withBuiltinContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5724b0cf.js";
|
|
5
5
|
import {
|
|
6
6
|
keepContext,
|
|
7
7
|
REVIEWER_CALIBRATION_RULES,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
EVIDENCE_CLOSURE_POLICY,
|
|
25
25
|
WORKTREE_DISCIPLINE_CONTRACT,
|
|
26
26
|
REVIEW_CODE_DELTA_CONTRACT
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3tx8ry44.js";
|
|
28
28
|
import {
|
|
29
29
|
VERIFICATION_SCALE
|
|
30
30
|
} from "./chunk-n1910xc4.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
reviewerFailureText,
|
|
39
39
|
summarizeReviewConvergence,
|
|
40
40
|
reverify_consolidated_batch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2hzrv5y8.js";
|
|
42
42
|
import {
|
|
43
43
|
fold_usage
|
|
44
44
|
} from "./chunk-tgt0s5e5.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ACTION_CATEGORIES2,
|
|
3
3
|
classify_and_act_default
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
6
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-ffdrv23t.js";
|
|
5
|
+
import"./chunk-5724b0cf.js";
|
|
6
|
+
import"./chunk-3tx8ry44.js";
|
|
7
7
|
export {
|
|
8
8
|
DEFAULT_ACTION_CATEGORIES2 as DEFAULT_ACTION_CATEGORIES,
|
|
9
9
|
classify_and_act_default as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fan_out_and_synthesize_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
5
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-7n51c5gh.js";
|
|
4
|
+
import"./chunk-5724b0cf.js";
|
|
5
|
+
import"./chunk-3tx8ry44.js";
|
|
6
6
|
export {
|
|
7
7
|
fan_out_and_synthesize_default as default
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate_and_filter_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-njmf5ze7.js";
|
|
4
4
|
import"./chunk-2377r57g.js";
|
|
5
5
|
import"./chunk-n1910xc4.js";
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-5724b0cf.js";
|
|
7
|
+
import"./chunk-3tx8ry44.js";
|
|
8
8
|
export {
|
|
9
9
|
generate_and_filter_default as default
|
|
10
10
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
goal_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-7bzcersz.js";
|
|
4
|
+
import"./chunk-2hzrv5y8.js";
|
|
5
5
|
import"./chunk-2377r57g.js";
|
|
6
6
|
import"./chunk-z0d03ktm.js";
|
|
7
7
|
import"./chunk-n1910xc4.js";
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-5724b0cf.js";
|
|
9
|
+
import"./chunk-3tx8ry44.js";
|
|
10
10
|
export {
|
|
11
11
|
goal_default as default
|
|
12
12
|
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import"./chunk-
|
|
2
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-5724b0cf.js";
|
|
2
|
+
import"./chunk-3tx8ry44.js";
|
|
3
3
|
import"./chunk-n1910xc4.js";
|
|
4
4
|
import"./chunk-2377r57g.js";
|
|
5
5
|
import {
|
|
6
6
|
adversarial_verification_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-dxjxtgmp.js";
|
|
8
8
|
import {
|
|
9
9
|
classify_and_act_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ffdrv23t.js";
|
|
11
11
|
import {
|
|
12
12
|
fan_out_and_synthesize_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7n51c5gh.js";
|
|
14
14
|
import {
|
|
15
15
|
generate_and_filter_default
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-njmf5ze7.js";
|
|
17
|
+
import"./chunk-2hzrv5y8.js";
|
|
18
18
|
import"./chunk-z0d03ktm.js";
|
|
19
19
|
import {
|
|
20
20
|
goal_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7bzcersz.js";
|
|
22
22
|
import {
|
|
23
23
|
open_claude_design_default
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-hmt5w62g.js";
|
|
25
25
|
import {
|
|
26
26
|
loop_until_done_default
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-vn0wb31x.js";
|
|
28
28
|
import {
|
|
29
29
|
ralph_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-jngsbbpm.js";
|
|
31
31
|
import {
|
|
32
32
|
tournament_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-9z3ztr2a.js";
|
|
34
34
|
export {
|
|
35
35
|
adversarial_verification_default as adversarialVerification,
|
|
36
36
|
classify_and_act_default as classifyAndAct,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loop_until_done_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-vn0wb31x.js";
|
|
4
4
|
import"./chunk-z0d03ktm.js";
|
|
5
5
|
import"./chunk-n1910xc4.js";
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-5724b0cf.js";
|
|
7
|
+
import"./chunk-3tx8ry44.js";
|
|
8
8
|
export {
|
|
9
9
|
loop_until_done_default as default
|
|
10
10
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
open_claude_design_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
5
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-hmt5w62g.js";
|
|
4
|
+
import"./chunk-5724b0cf.js";
|
|
5
|
+
import"./chunk-3tx8ry44.js";
|
|
6
6
|
export {
|
|
7
7
|
open_claude_design_default as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ralph_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import"./chunk-
|
|
3
|
+
} from "./chunk-jngsbbpm.js";
|
|
4
|
+
import"./chunk-2hzrv5y8.js";
|
|
5
5
|
import"./chunk-2377r57g.js";
|
|
6
6
|
import"./chunk-z0d03ktm.js";
|
|
7
7
|
import"./chunk-n1910xc4.js";
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-5724b0cf.js";
|
|
9
|
+
import"./chunk-3tx8ry44.js";
|
|
10
10
|
export {
|
|
11
11
|
ralph_default as default
|
|
12
12
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tournament_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-9z3ztr2a.js";
|
|
4
4
|
import"./chunk-2377r57g.js";
|
|
5
5
|
import"./chunk-n1910xc4.js";
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
6
|
+
import"./chunk-5724b0cf.js";
|
|
7
|
+
import"./chunk-3tx8ry44.js";
|
|
8
8
|
export {
|
|
9
9
|
tournament_default as default
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/workflows",
|
|
3
|
-
"version": "0.9.20-alpha.
|
|
3
|
+
"version": "0.9.20-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.87.1"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
92
92
|
"@bastani/atomic": {
|
|
@@ -5,7 +5,7 @@ description: Write, evaluate, migrate, or troubleshoot prompts for GPT and Claud
|
|
|
5
5
|
|
|
6
6
|
# Prompt engineering
|
|
7
7
|
|
|
8
|
-
Create or revise prompts for the user's target model. Keep the common prompt portable and load only the relevant model guide. Each
|
|
8
|
+
Create or revise prompts for the user's target model. Keep the common prompt portable and load only the relevant model guide. Each page connects an observed behavior to a prompt adjustment, prompt wording, and caveats. Use the matching patterns rather than pasting the whole guide into a prompt. The guides cover prompts, not API request settings; behavior does not transfer automatically between models.
|
|
9
9
|
|
|
10
10
|
## Workflow
|
|
11
11
|
|
|
@@ -28,14 +28,15 @@ Create or revise prompts for the user's target model. Keep the common prompt por
|
|
|
28
28
|
|
|
29
29
|
| Target | Read | Main distinctions |
|
|
30
30
|
| --- | --- | --- |
|
|
31
|
-
| GPT-6 Astra | `references/
|
|
32
|
-
| GPT-5.6
|
|
33
|
-
| GPT-5.5 | `references/gpt_5_5.md` | Outcome-first baseline, retrieval limits,
|
|
34
|
-
| Claude Fable 5.1 | `references/claude_fable_5_1.md` | Progress visibility, batching,
|
|
31
|
+
| GPT-6 Astra, Sol, Luna | `references/gpt_6.md` | OpenAI's official templates for approval pauses, skill-instruction conflicts, writing style, delegation, and verification; Sol/Luna effort sensitivity |
|
|
32
|
+
| GPT-5.6 Sol, Terra, Luna | `references/gpt_5_6.md` | Lean prompts, concise defaults, high-effort and pro-mode prompts, programmatic tool stages, cache-friendly ordering |
|
|
33
|
+
| GPT-5.5 | `references/gpt_5_5.md` | Outcome-first baseline, retrieval limits, grounded drafts, explicit validation |
|
|
34
|
+
| Claude Fable 5.1 | `references/claude_fable_5_1.md` | Progress visibility, batching, append-only reminders, completion within the output allowance |
|
|
35
35
|
| Claude Fable 5 | `references/claude_fable_5.md` | Long-run completion, grounded progress, task-sized independent verification, refusal handling |
|
|
36
|
+
| Claude Opus 5.5 | `references/claude_opus_5_5.md` | Always-on thinking, progress cadence, bounded unattended continuation, pasted-content boundaries |
|
|
36
37
|
| Claude Opus 5 | `references/claude_opus_5.md` | Separate response length from effort, remove redundant verification, bound delegation |
|
|
37
|
-
| Claude Opus 4.8 | `references/claude_opus_4_8.md` |
|
|
38
|
-
| Claude Sonnet 5 | `references/claude_sonnet_5.md` |
|
|
38
|
+
| Claude Opus 4.8 | `references/claude_opus_4_8.md` | Steerable thinking, literal scope, tool triggering, design alternatives |
|
|
39
|
+
| Claude Sonnet 5 | `references/claude_sonnet_5.md` | Thinking on by default, variety through prompts instead of sampling, literal scope and review recall |
|
|
39
40
|
|
|
40
41
|
For a migration, read both source and target pages when both are listed. For a cross-model prompt, keep common requirements in the main contract and isolate only the differences that affect behavior. Do not load every page for a single-model task.
|
|
41
42
|
|
|
@@ -44,12 +45,12 @@ For a migration, read both source and target pages when both are listed. For a c
|
|
|
44
45
|
- State the result and completion bar; leave routine path selection to the model.
|
|
45
46
|
- Give relevant context and a short reason for important constraints.
|
|
46
47
|
- Reserve absolute language for true invariants such as safety, permission, required fields, and forbidden actions. Use conditional rules for judgment calls.
|
|
47
|
-
- Specify output length, sections, format, and validation when the user or a parser depends on them. Use schemas for machine output
|
|
48
|
+
- Specify output length, sections, format, and validation when the user or a parser depends on them. Use schemas for machine output when the host enforces them.
|
|
48
49
|
- Use descriptive XML tags to separate mixed instructions, context, examples, and untrusted documents when helpful. Simple prompts need no markup.
|
|
49
50
|
- Keep examples only when they improve measured behavior. Ensure they obey the written contract.
|
|
50
51
|
- Require evidence for consequential claims, permit uncertainty, and define what happens when evidence is missing.
|
|
51
52
|
- Request conclusions, evidence, observed behavior, and validation results. Do not ask the model to reconstruct private reasoning in response text.
|
|
52
53
|
- Calibrate verification and delegation to the model and task. Preserve required checks, real approval gates, and the harness's concurrency and execution rules.
|
|
53
|
-
-
|
|
54
|
+
- Mentioning a tool or capability in a prompt does not provide it. Write prompts only for tools the host actually exposes.
|
|
54
55
|
|
|
55
56
|
Prompting reduces errors but does not eliminate them. Preserve safety, business, evidence, permission, and downstream parser constraints while optimizing.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Advanced Prompting Patterns
|
|
2
2
|
|
|
3
|
-
Use these patterns for agents, tools, long context, multi-stage work, or model-specific tuning. Keep the common prompt portable; add a model-specific branch only when behavior
|
|
3
|
+
Use these patterns for agents, tools, long context, multi-stage work, or model-specific tuning. Keep the common prompt portable; add a model-specific branch only when behavior differs.
|
|
4
4
|
|
|
5
5
|
## Choose model-specific guidance separately
|
|
6
6
|
|
|
7
|
-
The [skill's model table](../SKILL.md#model-guides) routes to one page per model, each linked to its official source. Read the target page before
|
|
7
|
+
The [skill's model table](../SKILL.md#model-guides) routes to one page per model, each linked to its official source. Read the target page before tuning effort, verification cadence, or delegation. Keep those differences out of a shared prompt unless the application deliberately branches by model.
|
|
8
8
|
|
|
9
9
|
## Agentic Prompt Structure
|
|
10
10
|
|
|
@@ -72,11 +72,11 @@ Quote grounding can focus retrieval in noisy inputs. Require only quotes that su
|
|
|
72
72
|
|
|
73
73
|
## Adaptive Thinking and Effort
|
|
74
74
|
|
|
75
|
-
Check the target model's thinking
|
|
75
|
+
Check the target model's thinking behavior before tuning. Effort names do not guarantee equal reasoning volume across versions. Where thinking shares the output allowance with the visible response, leave room for both. Change effort separately from prompt wording to identify the cause of regressions.
|
|
76
76
|
|
|
77
77
|
Do not use visible chain-of-thought instructions or private-deliberation tags as a prompting technique. They are obsolete and can trigger Fable 5 safeguards. Ask for an answer supported by evidence, calculations, test results, or a concise decision rationale that does not solicit private deliberation.
|
|
78
78
|
|
|
79
|
-
Keep earlier conversation items intact when replaying state. Caching and
|
|
79
|
+
Keep earlier conversation items intact when replaying state. Caching and history-replay rules differ by model; read the model page before changing effort, system instructions, or the replayed prefix.
|
|
80
80
|
|
|
81
81
|
## Prompt Chaining and Examples
|
|
82
82
|
|
|
@@ -1,49 +1,122 @@
|
|
|
1
1
|
# Claude Fable 5 prompting
|
|
2
2
|
|
|
3
|
-
Use this reference for long autonomous tasks, progress reliability, delegation, and migration from Opus 4.8. Distilled from [Anthropic's Fable 5 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5), checked September
|
|
3
|
+
Use this reference for long autonomous tasks, progress reliability, delegation, memory, and migration from Opus 4.8. Distilled from [Anthropic's Fable 5 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5), checked September 22, 2026. Apply model-specific changes to observed failures rather than importing every instruction into every task. The prompt snippets below are adaptations for reuse in your own prompts, not verbatim quotes from Anthropic's guide.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Turns run much longer by default
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Hard tasks can run for many minutes per request, and autonomous runs can extend for hours, especially when the model gathers context, builds, and self-verifies. On ambiguous tasks, keep the model from overplanning:
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```text
|
|
10
|
+
When you have enough information to act, act. Do not re-derive facts already established in the conversation, re-litigate a decision the user has already made, or narrate options you will not pursue in user-facing messages. If you are weighing a choice, give a recommendation, not an exhaustive survey. This does not apply to thinking blocks.
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Higher effort can widen scope on routine work
|
|
14
|
+
|
|
15
|
+
Lower effort still performs well on routine or interactive tasks. At higher effort on routine work, the model can gather context and deliberate beyond what the task needs, alongside strong verification and rigorous output. To curb unrequested scope growth:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
Do not add features, refactors, or abstractions beyond the task. Use the simplest design that fully satisfies the request. Avoid speculative handling for impossible scenarios, while preserving existing validation, required checks, and meaningful safety boundaries.
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Short instructions steer strongly; enumerating every case is unnecessary
|
|
22
|
+
|
|
23
|
+
Fable 5 follows brief instructions well. Un-steered, it can elaborate beyond what a task needs, especially at higher effort: surveying unpursued options, explaining root causes at length, or narrating what the next line does. A short brevity instruction replaces a long list of forbidden patterns:
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
Lead with the outcome. Your first sentence after finishing should answer "what happened" or "what did you find." Supporting detail comes after. Being readable and being concise are different things; drop details that don't change what the reader would do next, but don't compress the writing into fragments or arrow chains.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The same brevity principle applies to checkpoint behavior; state the actual stopping condition rather than every case:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
Pause when a required approval, a destructive or irreversible action, a material scope decision, or missing input prevents progress. Otherwise continue already-authorized work without asking again. State the blocker rather than ending on a promise.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Progress claims need grounding in actual tool results
|
|
36
|
+
|
|
37
|
+
On long autonomous runs, ask the model to audit its own status claims before reporting them:
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
Before reporting progress, audit each claim against a tool result from this session. Only report work you can point to evidence for; if something is not yet verified, say so explicitly. Report outcomes faithfully: if tests fail, say so with the output; if a step was skipped, say that.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Anthropic reports this nearly eliminated fabricated status reports in its testing; measure the effect on your own workload rather than assuming it transfers unchanged.
|
|
44
|
+
|
|
45
|
+
## Long-session summaries need re-grounding, not working shorthand
|
|
46
|
+
|
|
47
|
+
In extended agentic conversations, Fable 5 can write final summaries in the same dense, arrow-chain shorthand useful while working between tool calls, which a reader who did not see the work cannot follow:
|
|
10
48
|
|
|
11
|
-
|
|
49
|
+
```text
|
|
50
|
+
Your final summary is for a reader who did not see the work. Lead with the outcome, then explain what you need from them. Replace working shorthand and arrow chains with plain sentences that identify the relevant files, commits, or flags. Keep supporting evidence and material limitations.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Unrequested actions and destructive commands need explicit boundaries
|
|
54
|
+
|
|
55
|
+
The model can occasionally take actions nobody asked for (drafting an unrequested email, creating defensive backup branches). Name what is and is not authorized, and require evidence before a state-changing command:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
When the user is describing a problem or thinking out loud rather than requesting a change, the deliverable is your assessment; report findings and stop. Before running a command that changes system state (restarts, deletes, config edits), check that the evidence actually supports that specific action. A signal that pattern-matches to a known failure may have a different cause.
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Rare early stops need a bounded continuation, not indefinite prompting
|
|
62
|
+
|
|
63
|
+
Deep into a long session, Fable 5 can occasionally end a turn with a text-only statement of intent instead of the matching tool call, or ask permission when it already has enough to proceed. For genuinely unattended pipelines, add a standing reminder:
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
The user is not watching this unattended run in real time. Continue reversible actions already authorized by the request without routine check-ins. If the next step you describe is available and authorized, take it rather than ending on a promise. Stop when the task is complete, a required approval or budget boundary is reached, or no work can advance without a blocking decision or protected access.
|
|
67
|
+
```
|
|
12
68
|
|
|
13
|
-
|
|
69
|
+
Bound automatic continuations rather than looping indefinitely on a task that is genuinely stuck; stop after a small number and surface it for review.
|
|
70
|
+
Use the unattended wording only when it is true; retain interactive approval gates. A task asking only for findings does not authorize a fix.
|
|
14
71
|
|
|
15
|
-
|
|
72
|
+
## Delegation scales with explicit ownership, not implicit trust
|
|
73
|
+
|
|
74
|
+
Fable 5 dispatches and sustains parallel subagents readily. Give explicit delegation conditions, independent file or task ownership, and expected evidence; prefer asynchronous communication over blocking on the slowest subagent:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
Delegate independent subtasks to subagents and keep working while they run. Intervene if a subagent goes off track or is missing relevant context.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
For long-running work, a stated verification interval with fresh-context verifier subagents against the specification tends to outperform self-critique:
|
|
16
81
|
|
|
17
82
|
```text
|
|
18
|
-
|
|
83
|
+
Establish a method for checking your own work at an interval of [X] as you build. Run this every [X interval], verifying your work with subagents against the specification.
|
|
19
84
|
```
|
|
20
85
|
|
|
21
|
-
|
|
86
|
+
Apply this where the workload and orchestration policy call for it. Do not carry Opus 5's removal of generic verification into Fable 5 as a universal rule, and do not impose periodic verifier loops on trivial edits; required repository checks remain binding regardless.
|
|
87
|
+
|
|
88
|
+
## Memory across runs needs an explicit place to write
|
|
22
89
|
|
|
23
|
-
|
|
90
|
+
Where authorized, give the model a persistent notes file and instructions for maintaining it:
|
|
24
91
|
|
|
25
|
-
|
|
92
|
+
```text
|
|
93
|
+
Store one lesson per file with a one-line summary at the top. Record corrections and confirmed approaches alike, including why they mattered. Don't save what the repo or chat history already records; update an existing note rather than duplicating it; delete notes that turn out to be wrong.
|
|
94
|
+
```
|
|
26
95
|
|
|
27
|
-
|
|
96
|
+
To bootstrap from prior sessions: "Reflect on the previous sessions we've had together. Use subagents to identify core themes and lessons, and store them in [X]." Do not let memory become authorization for unrelated edits, and avoid retaining secrets unnecessarily.
|
|
28
97
|
|
|
29
|
-
|
|
98
|
+
## Verbatim mid-task content needs a dedicated delivery path
|
|
30
99
|
|
|
31
|
-
|
|
100
|
+
For long asynchronous agents where the user must see specific content exactly as written before the task ends (a generated snippet, a direct answer mid-loop), the source recommends a client-side tool whose input is rendered verbatim rather than summarized. Defining the tool is not enough; pair it with an explicit instruction naming when to use it, and reserve it for user-facing content, not narration:
|
|
32
101
|
|
|
33
|
-
|
|
102
|
+
```text
|
|
103
|
+
Between tool calls, when you have content the user must read verbatim, call send_to_user with that content. Use it only for user-facing content, not for narration or reasoning.
|
|
104
|
+
```
|
|
34
105
|
|
|
35
|
-
|
|
106
|
+
Confirm the host actually implements such a tool before referring to it in a prompt.
|
|
36
107
|
|
|
37
|
-
|
|
108
|
+
## Review filters lose recall on vague severity language
|
|
38
109
|
|
|
39
|
-
|
|
110
|
+
Vague thresholds like "be conservative" can make the model investigate just as thoroughly but withhold findings below that unclear bar. If a downstream stage ranks or filters, tell the discovery stage its job is coverage; give a concrete bar (incorrect behavior, failing test, misleading result) for a single pass, and preserve any severity limit the user explicitly requested.
|
|
40
111
|
|
|
41
|
-
|
|
112
|
+
```text
|
|
113
|
+
Within the requested scope, report supported findings with their trigger, location, impact, and evidence. Label plausible but unverified concerns separately. If a later review pass will rank them, do not silently discard lower-severity findings; retain any severity limits the user explicitly set.
|
|
114
|
+
```
|
|
42
115
|
|
|
43
|
-
|
|
116
|
+
## Requests for its reasoning can trigger refusals
|
|
44
117
|
|
|
45
|
-
|
|
118
|
+
Fable 5 runs safety classifiers for offensive cybersecurity, biology and life-sciences content, and extraction of its reasoning. Benign work in these areas can still be refused. Do not ask the model to echo, transcribe, or reconstruct its private reasoning in the response; that request pattern can itself trigger a refusal. Ask for conclusions, citations, and validation evidence instead.
|
|
46
119
|
|
|
47
|
-
##
|
|
120
|
+
## Validate the prompt change
|
|
48
121
|
|
|
49
|
-
Evaluate a difficult bounded task, a routine edit, and an interrupted long run. Check completion, authorization, scope, accurate status, and actual tool execution.
|
|
122
|
+
Evaluate a difficult bounded task, a routine edit, and an interrupted long run. Check completion, authorization, scope, accurate status, and actual tool execution. Change one prompt variable at a time.
|