ptbk 0.119.0-21 → 0.119.0-26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -9
- package/dist/browser/browser.d.ts +50 -36
- package/dist/browser/browser.js +162 -118
- package/dist/browser/browser.js.map +1 -1
- package/dist/browser/fleet.d.ts +59 -0
- package/dist/browser/fleet.js +148 -0
- package/dist/browser/fleet.js.map +1 -0
- package/dist/browser/recording.js +2 -2
- package/dist/browser/recording.js.map +1 -1
- package/dist/chats/conversation.d.ts +1 -1
- package/dist/chats/conversation.js +8 -6
- package/dist/chats/conversation.js.map +1 -1
- package/dist/chats/local.js +5 -5
- package/dist/chats/local.js.map +1 -1
- package/dist/cli/commands/add.js +1 -1
- package/dist/cli/commands/add.js.map +1 -1
- package/dist/cli/commands/boilerplates.js +1 -1
- package/dist/cli/commands/boilerplates.js.map +1 -1
- package/dist/cli/commands/find.js +1 -1
- package/dist/cli/commands/find.js.map +1 -1
- package/dist/cli/commands/fix.js +9 -4
- package/dist/cli/commands/fix.js.map +1 -1
- package/dist/cli/commands/init.d.ts +5 -0
- package/dist/cli/commands/init.js +279 -118
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/migrate.js +1 -1
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/ping.js +20 -12
- package/dist/cli/commands/ping.js.map +1 -1
- package/dist/cli/commands/plan.js +20 -12
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/recover.js +1 -1
- package/dist/cli/commands/recover.js.map +1 -1
- package/dist/cli/commands/restart.js +6 -5
- package/dist/cli/commands/restart.js.map +1 -1
- package/dist/cli/commands/run.js +26 -15
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/start.js +11 -7
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/commands/tool.d.ts +19 -0
- package/dist/cli/commands/tool.js +320 -0
- package/dist/cli/commands/tool.js.map +1 -0
- package/dist/cli/commands/verify.js +1 -1
- package/dist/cli/commands/verify.js.map +1 -1
- package/dist/cli/common.d.ts +7 -1
- package/dist/cli/common.js +37 -20
- package/dist/cli/common.js.map +1 -1
- package/dist/cli/compatibility.d.ts +8 -0
- package/dist/cli/compatibility.js +32 -0
- package/dist/cli/compatibility.js.map +1 -0
- package/dist/cli/parser.js +7 -3
- package/dist/cli/parser.js.map +1 -1
- package/dist/cli/registry.js +182 -7
- package/dist/cli/registry.js.map +1 -1
- package/dist/cli/service-view.js +1 -1
- package/dist/cli/service-view.js.map +1 -1
- package/dist/cli/sources.js +2 -0
- package/dist/cli/sources.js.map +1 -1
- package/dist/cli/spec.js +8 -6
- package/dist/cli/spec.js.map +1 -1
- package/dist/common/naming.d.ts +53 -0
- package/dist/common/naming.js +90 -0
- package/dist/common/naming.js.map +1 -0
- package/dist/engine/agenda.d.ts +70 -9
- package/dist/engine/agenda.js +294 -61
- package/dist/engine/agenda.js.map +1 -1
- package/dist/engine/executor.d.ts +5 -0
- package/dist/engine/executor.js +24 -11
- package/dist/engine/executor.js.map +1 -1
- package/dist/engine/harnesses.d.ts +82 -18
- package/dist/engine/harnesses.js +191 -39
- package/dist/engine/harnesses.js.map +1 -1
- package/dist/engine/preview.js +2 -2
- package/dist/engine/preview.js.map +1 -1
- package/dist/engine/routing.d.ts +10 -0
- package/dist/engine/routing.js +67 -28
- package/dist/engine/routing.js.map +1 -1
- package/dist/engine/snapshot.d.ts +107 -7
- package/dist/engine/state.d.ts +4 -2
- package/dist/engine/state.js.map +1 -1
- package/dist/engine/sync.d.ts +96 -0
- package/dist/engine/sync.js +199 -0
- package/dist/engine/sync.js.map +1 -0
- package/dist/engine/team.d.ts +1 -0
- package/dist/engine/team.js +12 -8
- package/dist/engine/team.js.map +1 -1
- package/dist/expert/_main.md +96 -67
- package/dist/expert/agents/_index.md +10 -7
- package/dist/expert/agents/core-agents.md +4 -2
- package/dist/expert/agents/fixer.md +15 -12
- package/dist/expert/cli/acceptance.md +96 -78
- package/dist/expert/cli/api.md +26 -14
- package/dist/expert/cli/autonomous-operation.md +17 -19
- package/dist/expert/cli/browser.md +24 -24
- package/dist/expert/cli/checks.md +18 -10
- package/dist/expert/cli/cli.md +48 -41
- package/dist/expert/cli/configuration-migrations.md +43 -0
- package/dist/expert/cli/configuration.md +24 -14
- package/dist/expert/cli/controls.md +23 -11
- package/dist/expert/cli/dashboard-details.md +28 -10
- package/dist/expert/cli/dashboard-layout.md +15 -15
- package/dist/expert/cli/dashboard.md +8 -10
- package/dist/expert/cli/environment.md +33 -0
- package/dist/expert/cli/execution.md +10 -8
- package/dist/expert/cli/git-persistence.md +27 -21
- package/dist/expert/cli/git-preflight.md +8 -4
- package/dist/expert/cli/git-synchronization.md +32 -6
- package/dist/expert/cli/harness-plugins.md +12 -12
- package/dist/expert/cli/harnesses.md +22 -16
- package/dist/expert/cli/initialization-ui.md +14 -14
- package/dist/expert/cli/initialization.md +31 -21
- package/dist/expert/cli/installation.md +6 -0
- package/dist/expert/cli/isolation.md +5 -3
- package/dist/expert/cli/releasing.md +17 -3
- package/dist/expert/cli/retries.md +10 -8
- package/dist/expert/cli/run.md +7 -5
- package/dist/expert/cli/start.md +21 -15
- package/dist/expert/cli/status-view.md +15 -17
- package/dist/expert/cli/synchronization-setup.md +24 -0
- package/dist/expert/cli/terminal.md +14 -16
- package/dist/expert/cli/tool-management.md +60 -0
- package/dist/expert/cli/tool-runtime.md +35 -0
- package/dist/expert/cli/tools-migration.md +50 -0
- package/dist/expert/cli/tools.md +73 -0
- package/dist/expert/cli/trace-configuration.md +9 -11
- package/dist/expert/cli/updates.md +7 -7
- package/dist/expert/cli/windows-installer.md +67 -0
- package/dist/expert/cli/workspace.md +2 -0
- package/dist/expert/coding-standards/_index.md +11 -0
- package/dist/expert/coding-standards/naming.md +30 -0
- package/dist/expert/coding-standards/shared-logic.md +27 -0
- package/dist/expert/concepts/automatic-repair.md +33 -0
- package/dist/expert/concepts/engine-and-project.md +7 -5
- package/dist/expert/dictionary.md +18 -18
- package/dist/harness/plugins/claude-code/index.js +4 -2
- package/dist/harness/plugins/claude-code/index.js.map +1 -1
- package/dist/harness/plugins/cline/index.js +1 -0
- package/dist/harness/plugins/cline/index.js.map +1 -1
- package/dist/harness/plugins/gemini/index.js +2 -0
- package/dist/harness/plugins/gemini/index.js.map +1 -1
- package/dist/harness/plugins/github-copilot/index.js +1 -0
- package/dist/harness/plugins/github-copilot/index.js.map +1 -1
- package/dist/harness/plugins/openai-codex/index.js +13 -9
- package/dist/harness/plugins/openai-codex/index.js.map +1 -1
- package/dist/harness/plugins/opencode/index.js +1 -0
- package/dist/harness/plugins/opencode/index.js.map +1 -1
- package/dist/harness/plugins/qwen-code/index.js +1 -0
- package/dist/harness/plugins/qwen-code/index.js.map +1 -1
- package/dist/harness/types.d.ts +16 -5
- package/dist/project/config.d.ts +135 -48
- package/dist/project/config.js +331 -119
- package/dist/project/config.js.map +1 -1
- package/dist/project/configuration.d.ts +43 -0
- package/dist/project/configuration.js +165 -0
- package/dist/project/configuration.js.map +1 -0
- package/dist/project/defaults.d.ts +4 -2
- package/dist/project/defaults.js +10 -5
- package/dist/project/defaults.js.map +1 -1
- package/dist/project/git.d.ts +28 -0
- package/dist/project/git.js +81 -0
- package/dist/project/git.js.map +1 -1
- package/dist/project/migrations.d.ts +96 -0
- package/dist/project/migrations.js +301 -0
- package/dist/project/migrations.js.map +1 -0
- package/dist/project/publication.d.ts +57 -0
- package/dist/project/publication.js +117 -0
- package/dist/project/publication.js.map +1 -0
- package/dist/project/readiness.d.ts +14 -5
- package/dist/project/readiness.js +23 -22
- package/dist/project/readiness.js.map +1 -1
- package/dist/project/setup.js +2 -0
- package/dist/project/setup.js.map +1 -1
- package/dist/service/actions.d.ts +12 -4
- package/dist/service/actions.js +32 -2
- package/dist/service/actions.js.map +1 -1
- package/dist/service/control.d.ts +1 -1
- package/dist/service/control.js +1 -1
- package/dist/service/host.d.ts +5 -2
- package/dist/service/host.js +26 -16
- package/dist/service/host.js.map +1 -1
- package/dist/service/http.js +7 -2
- package/dist/service/http.js.map +1 -1
- package/dist/service/launcher.d.ts +2 -1
- package/dist/service/launcher.js +1 -0
- package/dist/service/launcher.js.map +1 -1
- package/dist/service/records.d.ts +3 -0
- package/dist/service/records.js +1 -1
- package/dist/service/records.js.map +1 -1
- package/dist/service/spa/app.css +39 -0
- package/dist/service/spa/app.js +242 -39
- package/dist/service/worker.js +1 -0
- package/dist/service/worker.js.map +1 -1
- package/dist/tools/environment.d.ts +122 -0
- package/dist/tools/environment.js +199 -0
- package/dist/tools/environment.js.map +1 -0
- package/dist/tools/model.d.ts +180 -0
- package/dist/tools/model.js +111 -0
- package/dist/tools/model.js.map +1 -0
- package/dist/tools/normalize.d.ts +51 -0
- package/dist/tools/normalize.js +321 -0
- package/dist/tools/normalize.js.map +1 -0
- package/dist/tools/operations.d.ts +198 -0
- package/dist/tools/operations.js +378 -0
- package/dist/tools/operations.js.map +1 -0
- package/dist/tools/readiness.d.ts +72 -0
- package/dist/tools/readiness.js +160 -0
- package/dist/tools/readiness.js.map +1 -0
- package/dist/ui/dashboard.d.ts +3 -0
- package/dist/ui/dashboard.js +173 -2
- package/dist/ui/dashboard.js.map +1 -1
- package/dist/ui/details.d.ts +35 -1
- package/dist/ui/details.js +103 -2
- package/dist/ui/details.js.map +1 -1
- package/dist/ui/secret.d.ts +8 -0
- package/dist/ui/secret.js +41 -0
- package/dist/ui/secret.js.map +1 -0
- package/dist/ui/status-view.d.ts +1 -0
- package/dist/ui/status-view.js +33 -8
- package/dist/ui/status-view.js.map +1 -1
- package/dist/ui/tool-forms.d.ts +24 -0
- package/dist/ui/tool-forms.js +133 -0
- package/dist/ui/tool-forms.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# Harness
|
|
1
|
+
# Harness adapters and tool presentation
|
|
2
2
|
|
|
3
|
-
[Main specification](../_main.md)
|
|
3
|
+
[Main specification](../_main.md) · [Tools](tools.md) · [Shared domain logic](../coding-standards/shared-logic.md)
|
|
4
4
|
|
|
5
|
-
Harness integrations form an extensible internal plugin system. Each
|
|
5
|
+
Harness integrations form an extensible internal plugin system. Each integration supplies the same harness contract to Promptbook, used by wizard, runtime and update workflows rather than provider-specific copies of business logic. Browsers are a different tool type, not pretend LLM harnesses; both categories participate in the same external named-tool configuration and management model. Adding an adapter must not require redesigning those common experiences.
|
|
6
6
|
|
|
7
|
-
## Common contract
|
|
7
|
+
## Common adapter contract
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Expose a stable canonical variant, display name and featured status; installation/authentication/configuration readiness; supported models/execution capabilities; and operations for global installation, guided native setup/login, version checks and updates. Distinguish shared executable state from the authentication/configuration of a particular named instance. Declare support or limitations for separate native account contexts rather than pretending two records isolate one shared login.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Execution accepts the project directory, selected named tool and its scoped authentication context, effective instructions and supported model/effort options, and runs in supported noninteractive/autonomous mode. Never leak an API key or native account selection between simultaneous clients or retained uses. Promptbook need not reproduce every feature of a harness's own UI. Return actual activity, result, cancellation, failures and exposed diagnostics/usage; setup/execution details stay with the adapter.
|
|
12
12
|
|
|
13
|
-
Expose
|
|
13
|
+
Expose available full output/diagnostics to the owning task's consolidated [harness trace](traces.md), with attempt boundaries, actual variant and instance attribution. Include reasoning only where actually exposed, never promise hidden reasoning or replace the available stream with only a final summary. Redact secrets before persistence and distinguish interrupted/missing capture from empty successful output.
|
|
14
14
|
|
|
15
|
-
Follow [unattended operation](autonomous-operation.md): known execution permissions
|
|
15
|
+
Follow [unattended operation](autonomous-operation.md): resolve known execution permissions during attended setup rather than hidden prompts in a daemon. Detect unexpected input waits and recover or explain them. Autonomous operation does not bypass task constraints, project authority, paid-use limits or genuine human actions. Unsupported capabilities are explicit, not silently ignored.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Readiness and variant-specific parsing feed the shared tool domain layer. Init, commands and dashboard use those same types, validators and management operations; they must not independently implement provider branches or environment editing. See [DRY](../coding-standards/shared-logic.md).
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## A catalog that can grow
|
|
20
20
|
|
|
21
|
-
Default
|
|
21
|
+
Default integration catalogs show a small curated featured set, initially OpenAI Codex and Claude Code, plus **More**. All other supported variants remain reachable through bounded/searchable navigation even with hundreds of adapters. Default entries show names, not model/configuration dumps; reveal details on request and preserve selections.
|
|
22
22
|
|
|
23
|
-
See [harnesses](harnesses.md), [updates](harness-updates.md) and [help](help.md).
|
|
23
|
+
Featured status is presentation, not installation, enablement or paid-use authorization. The configured-tool inventory is different from the adapter catalog: it must distinguish several named instances of the same variant, their order, enabled state, availability and current uses. An active nonfeatured variant remains visible. See [harnesses](harnesses.md), [updates](harness-updates.md), [tool management](tool-management.md) and [help](help.md).
|
|
@@ -1,33 +1,39 @@
|
|
|
1
|
-
# Harness
|
|
1
|
+
# Harness tools: setup, accounts and execution
|
|
2
2
|
|
|
3
|
-
[Main specification](../_main.md)
|
|
3
|
+
[Main specification](../_main.md) · [Unified tools](tools.md) · [Live tool use](tool-runtime.md)
|
|
4
4
|
|
|
5
|
-
A harness provides model/tool execution, not agent identity or
|
|
5
|
+
A harness provides model/tool execution, not agent identity or browser website sessions. Supported canonical variants are `OPENAI_CODEX`, `CLAUDE_CODE`, `GITHUB_COPILOT`, `CLINE`, `OPENCODE`, `GEMINI` and `QWEN_CODE`, behind the common [plugin contract](harness-plugins.md). `tools` may contain several named instances of any variant, not just one configuration per provider.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Global executables, per-instance authentication
|
|
8
8
|
|
|
9
|
-
The project's
|
|
9
|
+
The project's ordered tool records select enabled instances and non-secret setup. Supported, installed, configured, enabled and usable are different states. An installed unselected integration is not an implicit fallback. CLI overrides follow [configuration precedence](configuration.md) and cannot authorize an otherwise forbidden route.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Install harness CLIs globally in the user's environment, not as per-project copies under `.ptbk/` or project dependencies. Discover the actual executable, version, models, capabilities and the selected instance's authentication context. Reuse healthy existing setup. A native account or credential context may be instance-specific even though the executable is shared. Coordinate updates of that shared executable rather than updating it separately for every configured account.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
For `authentication: NATIVE`, reuse the selected native account/subscription context; `accountProfile` identifies a distinct supported context when needed. For `authentication: API_KEY`, resolve only that instance's symbolic `apiKey` reference and explicitly select API authentication. Never let an unrelated active global account override an explicitly selected API tool or let an ambient API key turn a native tool into paid API execution. Do not overwrite a shared global login to simulate multiple independent subscriptions. Unsupported account isolation is a capability error, not successful pooling.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The service uses the same non-secret executable/native-store discovery paths that passed setup, including version-manager bins. A shell login working while the daemon cannot find its executable is discovery failure, not signed-out status. Preserve discovery through [persistent startup](persistence.md) and expose the real repair action.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## Simple setup and continuous readiness
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Use the existing featured/More picker. Users may select one or several integrations; initialize/configure only their choices and only missing prerequisites. Normal init does not ask them to build advanced fallback chains or multiple account profiles. Every selected initial tool must actually complete installation, login and authorized noninteractive readiness; opening a login page is not completion. A cancelled/deferred initial integration remains incomplete unless the user explicitly removes it from the selection.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Once the project is initialized, later resource loss does not mean the service has failed to start or exited. Check before every task, on inventory changes and during waits; display missing executables, credentials, quotas or capabilities and use configured alternatives. No usable harness means running/controllable but waiting for tools. Fixer can help when execution resources exist; no imaginary agent runs without them. Readiness inspection is not an implicit paid model call. Read-only commands do not install, update or authenticate.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Browser website sessions and native harness authentication remain independent even when a harness opens its own login page. Never transfer project-browser cookies into a harness or put account secrets in versioned configuration.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
## Selection and fallback
|
|
26
|
+
|
|
27
|
+
Different variants may be chosen for their strengths even while the first listed variant is healthy. Within the same variant, use the first eligible usable enabled tool in array order; later instances are fallback for unavailable earlier ones, not arbitrary load-balancing. Supported chains include multiple subscriptions, subscription then API, and multiple authorized billing accounts. A recovered earlier instance regains priority on a future selection without terminating work already using a fallback.
|
|
28
|
+
|
|
29
|
+
Preserve explicit task/model/account requirements. Respect configured paid-use limits; newly discovered keys do not authorize spending. After a known quota failure, use a configured authorized fallback promptly rather than waiting unnecessarily or retrying the exhausted account forever. If no candidate is usable, retain the actual wait and recheck opportunity. Never replay completed external effects when changing harness/account.
|
|
30
|
+
|
|
31
|
+
Run the selected global integration over the project with effective [agent context](agent-context.md) in its supported autonomous exec mode. Return actual success, failure, missing login, quota, cancellation and effective model/effort plus the named tool instance. Completion-looking text cannot override a failed turn/process. Unknown provider metadata remains unknown; model catalogs come from integrations, not fixed examples.
|
|
26
32
|
|
|
27
33
|
## Codex account login and billing
|
|
28
34
|
|
|
29
|
-
For Codex, prefer
|
|
35
|
+
For a native Codex tool, prefer/reuse its active native ChatGPT login. With executable and required capabilities present, `Logged in using ChatGPT` is readiness evidence without another login, API key, `--allow-credits` or model probe. Ordinary subscription execution, TEAM and planning must not depend on a missing credit-control flag. Authentication, subscription quota, account credits and API billing remain distinct.
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
`--allow-credits` authorizes supported explicit account-credit fallback, not API billing and not a requirement to reuse a subscription. Apply provider controls only when actually supported; do not invent flags or promise credit-free execution that the provider cannot guarantee. Hard account-credit limits remain subject to provider-supported controls.
|
|
32
38
|
|
|
33
|
-
API
|
|
39
|
+
The unified API tool's explicit `authentication: API_KEY` and configured reference replace reliance on the legacy `PTBK_OPENAI_CODEX_USE_API_KEY` opt-in for that instance. A native tool remains native even when environment keys exist. An explicitly configured/enabled API fallback may be used after earlier same-variant instances become unavailable, within project/task spending authority. Quota failures are quota outcomes, not a reason to log out or request another native login. See [environment safety](environment.md), [Manager](../agents/manager.md), [TEAM](team.md), [retries](retries.md) and [planning](planning.md).
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
[Main specification](../_main.md) · [Initialization behavior](initialization.md) · [Shared CLI interaction](interactive-ui.md)
|
|
4
4
|
|
|
5
|
-
Init is a short
|
|
5
|
+
Init is a short attended journey with a beginning, visible progress and an end. The dashboard is the optional ongoing cockpit, not the final wizard page or a prerequisite for unattended work. Functional saved choices are defined in [initialization](initialization.md).
|
|
6
6
|
|
|
7
|
-
## Intent first
|
|
7
|
+
## Intent first, simple tool choices
|
|
8
8
|
|
|
9
|
-
Open
|
|
9
|
+
Open new initialization with one generous field asking what the user is working on. Accept prose, long pasted material and images/files through the shared [rich composer](rich-input.md), with inspectable compact tokens instead of terminal payload dumps. Retain supplied input and resumed drafts. Existing-project maintenance reuses recorded purpose and does not request a replacement brief. Do not ask for a separate first task.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Keep the familiar selected-harness featured/More flow and one **Browser profile** picker: dedicated global Promptbook profile (default), isolated project profile, user's existing Chrome profile, or custom path. Explain the difference between dedicated and personal identities and safe sharing; preserve previous choices. Headless is independent. Unified tools are an internal/configuration improvement, not a requirement to ask about advanced instance naming, account pools, multiple browsers or fallback chains in the normal wizard. Those are managed later.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
There is **no check-command question**, script picker or validation-deferral screen. Missing validation receives the explicit informational placeholder described in [checks](checks.md); the wizard does not claim real tests passed. Existing real validation is preserved.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Bounded progress and conditional synchronization
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Show a meaningful `Step X of Y` and current step throughout. Count actual user-facing/grouped steps, including conditional branches and skipped/reused prerequisites. Update totals honestly when choices change. Installation/authentication duration may be indeterminate, not a fabricated completion estimate.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Add **Automatic synchronization**, default off, reusing an existing decision. No ends this branch immediately. Yes offers GitHub publication or another supplied Git origin; GitHub visibility defaults private and public is an explicit choice. Show the intended repository/destination clearly and report local setup separately from remote publication. Follow [synchronization setup](synchronization-setup.md), without exposing unsupported dedicated GitLab onboarding. Do not add an interval-configuration question.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Keep a dedicated **Traces** screen with three controls: commit traces, ignore videos in Git, and record browser videos. Explain privacy/storage and effective parent/video exclusions using [trace configuration](trace-configuration.md). Noninteractive mode supplies the same decisions without screens.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Expert is the recognizable procedural visual guide, using the same [agent identity](../agents/visual-identity.md) as the dashboard. This is not a model call or evidence that bootstrap work is already executing. Restrained reactions can reflect actual progress, with decisions/errors above decoration. Preserve focus and drafts through resize and backward navigation.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
## Finish, celebrate and return
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
After successful local setup and confirmed service launch, show a brief tasteful Expert celebration without a dismissal, long delay, looping animation or scrollback flood. Never celebrate failed/cancelled local setup as success. Remote publication may still be pending; make that qualification explicit rather than claiming full synchronization success.
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Leave a concise summary of project, actual engine version, local setup, confirmed service state and relevant pending synchronization. Make `ptbk dashboard` the primary next action and `ptbk stop` the stop action. Do not require another start, open/attach a dashboard or wait for the first task's result. Raw/noninteractive and reduced-motion modes remain finite and truthful, without hidden prompts or animation.
|
|
30
30
|
|
|
31
31
|
## Acceptance outcomes
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Preserve a long brief and ordered attachments through navigation/resize and save them verbatim. Verify the old simple tool selectors, no check-command prompt, correct placeholder labeling and conditional sync step totals. No skips all remote questions; GitHub defaults private; custom origin remains available. Complete local setup and start without waiting for bootstrap or requiring an open view. Cancellation/launch failure never produces false celebration, and remote failure is shown independently while safe local work continues.
|
|
@@ -2,48 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
[Main specification](../_main.md) · [Initialization experience](initialization-ui.md)
|
|
4
4
|
|
|
5
|
-
`ptbk init` (`ptbk initialize`) is a finite technical setup workflow for an empty
|
|
5
|
+
`ptbk init` (`ptbk initialize`) is a finite technical setup workflow for an empty or existing folder. It prepares support, preserves original intent, saves one ordinary Expert bootstrap and starts the agenda in the background. Project-specific content is created by that task, not a second execution mechanism inside init. Presentation/progress/celebration belong to [initialization UX](initialization-ui.md).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Reuse the same readiness/setup operations from start for genuinely missing initialization, with one handoff and no recursive init/start or duplicate workers. Equivalent decisions can be supplied noninteractively. Later missing/disabled tools in an initialized project are a live resource wait, not permission to rerun the wizard or repopulate deliberately removed resources.
|
|
8
8
|
|
|
9
9
|
## Initial input and destination
|
|
10
10
|
|
|
11
|
-
For
|
|
11
|
+
For new initialization, first ask what the user is working on, before destination/installation questions. Accept arbitrary intent, not just software: free text, long pasted material, images and files. Reuse supplied input, resumed drafts or an existing initialization's recorded intent. Reinit/upgrades preserve purpose rather than requesting a new brief.
|
|
12
12
|
|
|
13
|
-
Then resolve
|
|
13
|
+
Then resolve current directory or a new subfolder, reusing an explicit destination, and confirm location before writes. Nonempty content is an existing project, not permission to regenerate it. Children inside Git follow [nested-project initialization](nested-projects.md). The optional [engine-update gate](updates.md) must not displace or lose the original intent/draft; an existing newer-version configuration also follows the [compatibility gate](configuration-migrations.md).
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The [Windows installer](windows-installer.md) may launch this same interactive workflow in a newly created empty directory, explicitly selected with `--path`. Reuse that destination rather than offer another root/subfolder decision; after the normal intent input, show it for confirmation. Installer folder naming is not the project's intent. Do not add an installer-specific initialization path: dependency choice, Git setup, tools/authentication, version checks, setup commit and automatic start retain their ordinary semantics.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Save accepted input in the initialized project's `specs/_initial.md`, preserving text verbatim: language, wording, whitespace, line breaks and long pasted blocks. Do not summarize, translate or improve it. Save original attachments as project-local assets with ordered working relative links at their corresponding positions. Composer tokens are presentation, not saved replacements for full content. Never retain clipboard/temp-file/absolute-machine references.
|
|
18
|
+
|
|
19
|
+
These are the initialized project's specifications, not changes to the engine's own specification folder. Prepare them with the [first task](first-task.md). Resume/reinit never overwrites original intent or duplicates attachments. Blank input remains blank; its ordinary Expert task performs a bounded readiness review without inventing purpose.
|
|
18
20
|
|
|
19
21
|
## Incremental technical setup
|
|
20
22
|
|
|
21
|
-
Check Git,
|
|
23
|
+
Check Git, configuration, source locations, instructions, core agents, templates and ignore rules individually; resume only missing setup. Reuse a valid existing repository/current branch, including an unborn one. When creating a new repository, explicitly initialize **main**. Preserve files, staging, history and customization.
|
|
22
24
|
|
|
23
|
-
Prepare `agents/`, the configured task source (normally `tasks/`), `chats/`, `specs/`, root-level `traces/`, readable
|
|
25
|
+
Prepare `agents/`, the configured task source (normally `tasks/`), `chats/`, `specs/`, root-level `traces/`, readable instructions, required [core agents](../agents/core-agents.md) and useful role/task templates. Ordinary defaults include Developer, Planner, Lawyer and Copywriter with useful TEAM relationships. Create only missing cores. Initialize Fixer with the simple general problem-solving Book and User/Expert TEAM under [automatic repair](../concepts/automatic-repair.md), never reset its customized/learned policy.
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
Create a missing `agents/.core/chatter.book` with `AGENT Chatter` and TEAM access to all other initialized/selected core/specialist roles plus Expert, excluding itself. Build its initial team from the completed role set, not just earlier-created files. Reinit preserves an existing Chatter/team and all other Books. This is technical setup, not an extra chat, model call or bootstrap execution.
|
|
26
28
|
|
|
27
|
-
Apply
|
|
29
|
+
Apply destination-specific [local installation choice](installation.md), preserving existing dependencies. Configure selected harness variants through the existing featured/More flow, with global installations, native login and [update choices](harness-updates.md). Complete and verify all initially selected integrations without paid readiness probes; cancellation/deferred selection remains incomplete unless explicitly removed. Reuse valid Codex ChatGPT authentication without requiring an API key or absent credit-control flag; see [harness account rules](harnesses.md).
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
Configure one browser through the existing four-source picker, defaulting to the dedicated reusable global Promptbook profile, not personal Chrome. Save typed named records in `tools` by calling the **same domain operations** as later CLI/dashboard management. Generate simple names and defaults. Do not ask users to build multiple-account pools, several browser instances or fallback chains during normal init. These remain available afterwards. Resolve known execution permissions during attended setup rather than leave invisible prompts in the daemon.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
Write the actual running engine version into a new `promptbookVersion`. Existing older configurations use the ordinary migration pass, with its separate committed provenance, not an ad hoc initializer conversion. Preserve `.ptbk/`, browser/session stores and `.env` as ignored; [environment edits](environment.md) are non-destructive and timestamped.
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Collect/reuse the three Traces choices: `traces.isCommitted`, `traces.isVideoIgnored` and `traces.isVideoRecordingEnabled`. Their defaults, dependencies and effective ignore rules live in [trace configuration](trace-configuration.md). Trace directories use literal task source basenames, independently of logical names.
|
|
34
36
|
|
|
35
|
-
##
|
|
37
|
+
## No check-command question
|
|
38
|
+
|
|
39
|
+
Remove the check-command question completely from the wizard, including script selection, custom-command prompts and a mandatory validation-deferral decision. Preserve an existing real `execution.check`. When no check is configured, create a successful informational placeholder such as `echo "Configure project checks in ptbk.json execution.check"` without asking the user. It explicitly means real automated validation is not configured, not that project tests passed, and does not block init/start or the first task.
|
|
40
|
+
|
|
41
|
+
An explicitly supplied `init --check COMMAND` can fill the missing setting without a question; preserve existing valid defaults and the usual temporary-override rules. Never replace a failing real validator with the placeholder to claim success. Expert may establish appropriate validation through ordinary work; see [checks](checks.md). Init itself does not run project checks or call a model.
|
|
36
42
|
|
|
37
|
-
|
|
43
|
+
## Optional synchronization and persistence
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
Add the **Automatic synchronization** step under [synchronization setup](synchronization-setup.md). Default/reused false asks nothing further. A new yes offers GitHub publication, private by default with explicit public choice, or a user-supplied other origin. Dedicated GitLab setup is future scope. Keep actual origin/upstream in Git, not duplicated JSON fields. Existing repositories/branches/remotes are not silently replaced.
|
|
46
|
+
|
|
47
|
+
Save the ordinary first task assigned to Expert and referring to `specs/_initial.md`; do not ask for a separate starter assignment. By default commit only authorized local setup before dispatch/publication, using an initial or scoped `PTBK: ` commit and applicable names. Preserve unrelated edits, hooks and signing. Failed local persistence is incomplete setup. Initial remote creation/push has an honest separate outcome: its failure leaves synchronization pending but does not prevent otherwise ready local work.
|
|
48
|
+
|
|
49
|
+
## Completion and automatic start
|
|
40
50
|
|
|
41
|
-
|
|
51
|
+
Successful local technical setup leaves selected initial tools usable, required roles/storage present, original intent/assets and the ordinary bootstrap saved, and either preserved real validation or the explicitly labelled placeholder. Default setup is committed. Check the settings the service will actually use, not wizard-only state. Do not claim checks or publication succeeded merely because files or login windows were created.
|
|
42
52
|
|
|
43
|
-
|
|
53
|
+
Automatically perform the ordinary [background start](start.md) with the selected project and applicable explicit overrides. No extra Start confirmation, manual Run action or dashboard is required. The daemon executes Expert and follow-ups through the normal queue; init does not execute them inline or wait for their checks/results.
|
|
44
54
|
|
|
45
|
-
|
|
55
|
+
Confirm the bounded service-start outcome and return the terminal. Do not attach/open a dashboard. The primary next hint is `ptbk dashboard`; `ptbk stop` remains available. Distinguish local setup, service launch, task progress and pending synchronization. Launch failure preserves setup/queued work and gives the repair action; a later task failure is runtime work, not a reason to rerun init.
|
|
46
56
|
|
|
47
|
-
|
|
57
|
+
Explicit `init --no-commit` remains a labelled uncommitted setup/task workflow when no required migration or autosync conflicts with it; propagate that policy through the automatic start. Never claim a committed guarantee or silently switch policy. Later committed use follows [Git reconciliation](git-persistence.md).
|
|
48
58
|
|
|
49
|
-
|
|
59
|
+
Cancellation or unresolved essential local setup preserves progress without false success or hidden noninteractive prompts. A placeholder check is not unresolved essential setup, and a remote synchronization outage is not a local-launch prerequisite. Repeating unchanged init creates no empty commits, duplicate/reopened starter, repeated login or reset settings. Reuse a running service without overriding deliberate pause/draining intent; an explicit successful init on a stopped project includes the ordinary start. See [process modes](process-modes.md), [Git preflight](git-preflight.md) and [execution](execution.md).
|
|
@@ -6,6 +6,12 @@ The repository publishes one npm package, `ptbk`, providing the `ptbk` command.
|
|
|
6
6
|
|
|
7
7
|
Install globally with `npm install -g ptbk`, then invoke `ptbk`. Alternatively, install locally in dependencies or devDependencies and use `npx ptbk` or an npm script; a local installation does not add the executable to the system PATH. Global and local Promptbook installations are independent of the always-global [harness installations](harnesses.md).
|
|
8
8
|
|
|
9
|
+
## Windows installer entry point
|
|
10
|
+
|
|
11
|
+
Each version also ships a thin [Windows installer](windows-installer.md) on its GitHub Release. It prepares missing Node.js/npm/Git prerequisites, installs the corresponding ordinary global `ptbk` package, proposes a home-based projects root and offers an empty first-project directory. The normal handoff opens a terminal in that project and automatically runs the existing interactive `ptbk init` with its destination selected.
|
|
12
|
+
|
|
13
|
+
This is an additional distribution/onboarding path, not a replacement for npm or a separate engine/graphical initializer. Reuse compatible existing prerequisites, preserve unrelated installations and follow the installer's exact-version, permission, retry and safe-directory rules. Project-local installation remains a later ordinary init decision. Automatic artifact creation and publication are part of [releasing](releasing.md).
|
|
14
|
+
|
|
9
15
|
## Installation during init
|
|
10
16
|
|
|
11
17
|
Inspect the selected destination, not merely the folder from which init was launched. If it already declares and has a usable local `ptbk` in dependencies or devDependencies, preserve it without asking to add a second copy or moving it between sections. Repair a declared but missing installation without silently replacing its version choice.
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
[Main specification](../_main.md)
|
|
4
4
|
|
|
5
|
-
`--isolate` executes one task in a separate Git worktree while preserving
|
|
5
|
+
`--isolate` executes one task in a separate Git worktree while preserving project identity and sequential task policy. It requires a named branch and enabled commits. Map project, sources, agents, context and necessary dependencies consistently. A worktree is not another engine, browser-session identity or security sandbox.
|
|
6
6
|
|
|
7
|
-
The
|
|
7
|
+
The source project's live tool registry remains authoritative: tool additions/changes from other clients are not lost merely because task files live in a worktree. Preserve current-use rules and keep tool-management commits separate from the task result. Do not copy stale configuration back over intervening project changes at integration.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Create one verified task result commit in the task context, then integrate into the project branch with a visible **non-fast-forward merge**, preserving the original result and all intervening commits. The integration commit is not a second task result or execution. A changed source branch is reconciled, not rewritten by rebase, amend or force reset. Conflicts preserve both versions and use the ordinary [Fixer path](../concepts/automatic-repair.md); never delete unintegrated work automatically.
|
|
10
|
+
|
|
11
|
+
The project branch receives accepted result/completion only through successful verified integration. Publish that integrated branch under [synchronization](git-synchronization.md), not the temporary branch. Keep isolation artifacts in ignored `.ptbk/` or another explicitly authorized ignored location, preserving diagnostics and recovery state before cleanup. Copy/access only authorized local configuration and never commit secrets while preparing the worktree.
|
|
10
12
|
|
|
11
13
|
See [workspace](workspace.md), [Git persistence](git-persistence.md) and [recovery](recovery.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GitHub Actions checks and publication
|
|
2
2
|
|
|
3
|
-
[Main specification](../_main.md) · [Operational quality](operations.md) · [Installation](installation.md)
|
|
3
|
+
[Main specification](../_main.md) · [Operational quality](operations.md) · [Installation](installation.md) · [Windows installer](windows-installer.md)
|
|
4
4
|
|
|
5
5
|
The official repository's **Check ptbk** and **Publish ptbk** GitHub Actions workflows are expected to pass for their applicable commits and releases. Passing both workflows is a required release acceptance outcome. Passing local checks is useful evidence; completion also requires successful hosted checks for the exact source being accepted or released. A required job that fails, is cancelled or is skipped does not satisfy this requirement.
|
|
6
6
|
|
|
@@ -16,8 +16,22 @@ Reviewed planning saves produce their scoped `PTBK: ` commit on every supported
|
|
|
16
16
|
|
|
17
17
|
For an authorized release tag or manual dispatch in the official repository, validate the exact immutable tag across the complete check matrix before uploading the single `ptbk` package. The publication job remains blocked when validation fails. A skipped publication following failed validation is an unsuccessful release outcome.
|
|
18
18
|
|
|
19
|
-
Successful publication means the tagged version, matching manifest/lockfile and distributable are validated, npm accepts the package with provenance, and bounded public-registry verification confirms the expected version, tarball integrity and default installation channel. Disposable unversioned local/global installations must report that released engine version. Required check and publication jobs finish successfully; logs retain actionable evidence for failures.
|
|
19
|
+
Successful publication means the tagged version, matching manifest/lockfile and distributable are validated, npm accepts the package with provenance, and bounded public-registry verification confirms the expected version, tarball integrity and default installation channel. Disposable unversioned local/global installations must report that released engine version. The same version's Windows installer must also be built, verified and downloadable from its GitHub Release under the requirements below. Required check and publication jobs finish successfully; logs retain actionable evidence for failures.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
### Additional Windows release artifact
|
|
22
|
+
|
|
23
|
+
Automatically produce the [Windows installer](windows-installer.md) as an additional output of the ordinary versioned release build, alongside the existing package publication. Every newly published version receives it, including published prereleases with their corresponding release/channel labelling. Preserve existing npm distribution, provenance, validation and channel behavior; the installer neither replaces those outputs nor promotes a prerelease to stable. No separate manual packaging/upload step or second version source is allowed.
|
|
24
|
+
|
|
25
|
+
Build from the same immutable tag and derive the installer's advertised/target package version from the validated release version. Before publication, build and test against that exact package candidate rather than an unrelated registry latest. Keep public-registry-dependent verification after the corresponding package becomes available.
|
|
26
|
+
|
|
27
|
+
The matching GitHub Release contains a usable `.exe` or `.msi` asset with version/platform-identifying metadata or filename and a published integrity checksum. Verify the actual downloadable asset and its integrity, not just a temporary CI artifact or successful upload response. Its normal installation must obtain and report the exact published `ptbk` version. Release descriptions distinguish installation of the bootstrap prerequisites from subsequent CLI project initialization.
|
|
28
|
+
|
|
29
|
+
Required Windows installer checks cover a disposable clean supported environment without Node.js/npm/Git, compatible preinstalled prerequisites, a partial installation, repeated setup, safe paths/collisions and the real interactive-terminal handoff boundary. A hosted runner with all tools preinstalled does not by itself prove the clean-machine path. Isolate these checks instead of removing the shared runner's tools. Use controlled project/provider substitutes so validating handoff does not require real user credentials or paid agent work. Retain useful diagnostics and run the installer-specific acceptance outcomes without weakening the existing cross-platform package matrix.
|
|
30
|
+
|
|
31
|
+
### Partial publication and retries
|
|
32
|
+
|
|
33
|
+
A missing, corrupt, mismatched or unverified installer means the combined release is incomplete even when npm publication succeeded. Report each output separately; do not mark the release successful or silently skip the installer job. Likewise, an uploaded installer does not compensate for a failed/unavailable npm publication.
|
|
34
|
+
|
|
35
|
+
Retry a temporary infrastructure failure against the same tag only when its source is still valid. Reuse and verify already-published matching package/assets rather than republish the same npm version or overwrite a different existing artifact. Retry the missing/failed stage and its verification without moving the tag. A code or test fix follows the ordinary commit process and requires a new version/tag; preserve existing release tags and published versions. Recheck that new tag before publishing it.
|
|
22
36
|
|
|
23
37
|
When reporting a GitHub Actions fix, identify the failing jobs and cause, verify the corrected behavior locally, and distinguish that evidence from hosted results. Until the corrected source has passed the required hosted jobs, report hosted verification as pending; an older successful run or a local pass cannot stand in for it.
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
# Repair budgets and provider waiting
|
|
1
|
+
# Repair budgets, fallback and provider waiting
|
|
2
2
|
|
|
3
|
-
[Main specification](../_main.md) · [Unattended operation](autonomous-operation.md)
|
|
3
|
+
[Main specification](../_main.md) · [Unattended operation](autonomous-operation.md) · [Automatic repair](../concepts/automatic-repair.md)
|
|
4
4
|
|
|
5
|
-
Distinguish check-feedback repairs
|
|
5
|
+
Distinguish check-feedback repairs, deterministic technical recovery and selection of an already authorized fallback tool. Defaults allow three implementation/repair attempts for a task and an initial technical attempt plus at most three technical retries. Explain extra calls and account for the combined budget; nested mechanisms must not multiply paid attempts invisibly.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
On a named harness failure/quota limit, use the eligible [same-variant fallback chain](tools.md) in array order, respecting task/account/model constraints and paid authority. Do not wait through an exhausted first account's reset while an authorized appropriate fallback is available. Different variants can be selected for suitability under routing constraints. Ambient credentials or installed integrations never create an unapproved fallback.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Reuse valid authentication and supported safe refresh. Genuinely missing login/2FA needs the ordinary human/authentication path, not repeated model calls. If no candidate is usable, wait using reported reset/availability where known or bounded backoff; recheck without paid idle polling. Unknown quota is neither zero nor unlimited. A recovered earlier instance regains priority at later selection without interrupting already acquired work. New tools can resolve a wait without restart.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
An unanswered durable User request is a human wait, not failed acceptance requiring another model attempt. Do not consume that task's budgets while unresolved; safe independent work may continue. Detect unexpected hidden prompts and real stalled subprocesses rather than hang on unattended stdin. Lack of output during legitimate activity alone is not proof of stall.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Evaluate provider process/turn failure at its terminal boundary. Individual failed tool observations or echoed instructions do not automatically turn a completed turn into process failure. Actual terminal errors, nonzero exits, signals and unmet task outcomes remain distinct and cannot be stamped complete.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Commit/signing/disk/push failures do not rerun successful model work or effects. Resume the failed phase with ownership and evidence preserved. Remote synchronization retries have their own bounded coordinator/backoff and do not block otherwise safe local tasks/commits. Preserve normal pause/stop intent throughout.
|
|
16
|
+
|
|
17
|
+
Apply deterministic corrections first and hand unresolved/judgment-dependent problems to ordinary Fixer under the core automatic-repair principle. Its Book/TEAM governs consultation, not a new channel or unconditional user prompt. With no execution resources, retain the visible pending repair rather than claiming Fixer ran. The daemon stays controllable; finite commands can return an honest incomplete outcome. See [checks](checks.md), [harnesses](harnesses.md), [recovery](recovery.md) and [traces](traces.md).
|
package/dist/expert/cli/run.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[Main specification](../_main.md)
|
|
4
4
|
|
|
5
|
-
`ptbk run` executes the existing eligible queue for this invocation and then exits. It uses one selected agent, harness, model and thinking
|
|
5
|
+
`ptbk run` executes the existing eligible queue for this invocation and then exits. It uses one selected agent, harness variant, model and thinking configuration with project/additional context and documented options. Explicit task requirements remain constraints, not silently overridden defaults. A fixed invocation choice does not freeze the tool inventory or credentials at startup: revalidate them before every task and refresh during work under [live tool rules](tool-runtime.md). Eligible same-variant account fallbacks may serve that selected configuration.
|
|
6
6
|
|
|
7
|
-
Run does not become an indefinite agenda, invent goal-discovery work or invoke Manager to choose its configuration.
|
|
7
|
+
Run does not become an indefinite agenda, invent goal-discovery work or invoke Manager to choose its configuration. Follow-ups do not extend it into an unbounded queue. Future tasks remain pending with the next relevant time reported. A recurring definition runs at most once per invocation. Missing tools produce an honest resource wait/incomplete outcome, not false task success; a finite invocation may end with pending work rather than wait forever. This does not redefine a running background service as stopped when tools are missing.
|
|
8
8
|
|
|
9
|
-
Interactive run uses the
|
|
9
|
+
Interactive run uses the shared [runtime dashboard](terminal.md): actual engine version, task/agent/tool, queue, outcomes, waits and errors, not onboarding. It owns finite execution lifetime unlike an attached viewer. Finish with a concise summary and exit. Raw/noninteractive run uses plain output and supplied choices. If HTTP runs, API/browser views expose the same process and end with the finite invocation rather than leaving an unintended persistent service.
|
|
10
10
|
|
|
11
|
-
Tasks remain sequential
|
|
11
|
+
Tasks remain sequential with common checks, ownership, completion, learning follow-ups and recovery. A newly added usable tool can serve current work at its next selection. Apply opt-in synchronization attempts before work/commits and publication after commits; remote failure does not rerun or prevent safe local work. Required configuration migrations happen under their separate [commit contract](configuration-migrations.md).
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Unsafe state or failed work uses the shared [errors/traces](errors.md) and an accurate unsuccessful/incomplete result. Manual controls, dry-run, filters, limits, isolation and ordinary uncommitted workflows remain supported within their documented compatibility rules.
|
|
14
|
+
|
|
15
|
+
Use [start](start.md) for continuous operation and automatic selection across project agents and tools. See [CLI](cli.md) and [execution](execution.md).
|