vibe64 0.1.65 → 0.1.67
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/bin/run.js +2004 -1363
- package/bin/server.js +282 -276
- package/bin/upgrade-state.js +4673 -4470
- package/dist/assets/{GithubBrowserTabs-D21Nl3QI.js → GithubBrowserTabs-CW3GBeJu.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-POxY1K1U.js → LocalDatabaseServer-DYh3UF9q.js} +1 -1
- package/dist/assets/{SelectField-Dezd0B3y.js → SelectField-Df50ZFLj.js} +1 -1
- package/dist/assets/{ShellOutlet-DfF9vsWA.js → ShellOutlet-DkLdtzJW.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-I3ufyScN.js → Vibe64AuthSettingsButton-Cksj7FS6.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-DFfFPrd7.css → Vibe64AuthSettingsButton-DfKYI6ZS.css} +1 -1
- package/dist/assets/{Vibe64ConversationLog-C04oOQ2g.js → Vibe64ConversationLog-BC0eDtUP.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-BbrOUmRD.js → Vibe64DashboardShell-DX5dOXAB.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-VPEM2o1v.js → Vibe64DatabaseWorkspace-8i-RDc9y.js} +1 -1
- package/dist/assets/{Vibe64FileArea-C_nC2bPk.js → Vibe64FileArea-EK5yUio3.js} +1 -1
- package/dist/assets/{Vibe64OutputControls-DTO3Fw3x.js → Vibe64OutputControls--LB4G83q.js} +1 -1
- package/dist/assets/{Vibe64RepositoryWorkspace-B8xcCOvL.js → Vibe64RepositoryWorkspace-D6uJCype.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-Cb9Mxsyq.js → Vibe64SessionFiles-DVHGc7hd.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-CVQ3NRjh.js → Vibe64SessionSourceEditor-Bws5ihr-.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-BV4JFgcZ.js → Vibe64UiStoryboardView-BmABkyG4.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-DGQAxYE-.js → Vibe64UnavailableSessions-C6Bkwsqk.js} +1 -1
- package/dist/assets/{_pageId_-CkG15vv4.js → _pageId_-FjW-3sqF.js} +1 -1
- package/dist/assets/{_sessionId_-Bka3RUmK.js → _sessionId_-4cH83Bfi.js} +1 -1
- package/dist/assets/_slug_-Cazfy5ui.js +14 -0
- package/dist/assets/_slug_-DQDycgFK.css +1 -0
- package/dist/assets/{access-Xo3unxGO.js → access-mxcxtn7b.js} +1 -1
- package/dist/assets/{app-B0spNegd.js → app-8zP_FAuO.js} +1 -1
- package/dist/assets/assistantRouting-Bbxguvre.js +3 -0
- package/dist/assets/{changes-DFv4tuoO.js → changes-cmlEyHug.js} +1 -1
- package/dist/assets/{client-4uCr4dYG.js → client-BJBzomgt.js} +1 -1
- package/dist/assets/{client-CVuXqm4b.js → client-C1i-bIgL.js} +1 -1
- package/dist/assets/{client-Dlg1kjjO.js → client-C7yZ1hEm.js} +1 -1
- package/dist/assets/{client-CevjVK2b.js → client-CQ49uWhR.js} +1 -1
- package/dist/assets/{client-DR0w56e8.js → client-D46Uu-YO.js} +2 -2
- package/dist/assets/{client-BjMjS6lX.js → client-DKNTl1to.js} +2 -2
- package/dist/assets/{conversation-OkWbkHjm.js → conversation-CFJRkeTj.js} +3 -3
- package/dist/assets/{conversation-DReMq0MF.css → conversation-COcuIkcD.css} +1 -1
- package/dist/assets/conversation-CexAK3Qk.js +1 -0
- package/dist/assets/{dashboard-CAca9MQn.js → dashboard-CMtWKazq.js} +1 -1
- package/dist/assets/{english-definitions-BtX8KA5g.js → english-definitions-DiyU9O9D.js} +1 -1
- package/dist/assets/{env-DrNyBVkB.js → env-LUc22Wgd.js} +1 -1
- package/dist/assets/{error-BqMxhgpB.js → error-BccdQn04.js} +1 -1
- package/dist/assets/{error-BQ7r64JO.js → error-DPDAz9Td.js} +1 -1
- package/dist/assets/{errorMessageHelpers-B49LyMJi.js → errorMessageHelpers-G32Hjqfm.js} +1 -1
- package/dist/assets/{health-B5yTW5Tt.js → health-CfMjMJFf.js} +1 -1
- package/dist/assets/{history-S3anp6xg.js → history-hX_kNskf.js} +1 -1
- package/dist/assets/{httpClient-Bwitq9Xf.js → httpClient-C71X5grL.js} +1 -1
- package/dist/assets/{i18n-BuXRXGaO.js → i18n-5EHeMSvt.js} +1 -1
- package/dist/assets/{i18n-DQPYjuW7.js → i18n-BSfPKqM3.js} +1 -1
- package/dist/assets/{i18n-Dm74yE_M.js → i18n-Dq-ep9n7.js} +1 -1
- package/dist/assets/index-BJWiPV6i.css +1 -0
- package/dist/assets/index-FVeEbKiO.js +134 -0
- package/dist/assets/{integrations-C7dj7el_.js → integrations-Ccb8EOEO.js} +14 -15
- package/dist/assets/{integrations-CwgrZgmM.css → integrations-CtnIjM1Y.css} +1 -1
- package/dist/assets/{issues-OkV4v4GX.js → issues-Bxtt7oqi.js} +1 -1
- package/dist/assets/{learning-lW9nBGjT.js → learning-BUx9jo91.js} +1 -1
- package/dist/assets/{pages-shOT9IVe.js → pages-D43zM2UW.js} +1 -1
- package/dist/assets/{project-files-D_K1N0JF.js → project-files-BX3zZCcl.js} +1 -1
- package/dist/assets/{publish-Bxe4ZCqe.js → publish-DatierL2.js} +1 -1
- package/dist/assets/{pull-requests-CQvk0TeH.js → pull-requests-DNkOjcuy.js} +1 -1
- package/dist/assets/{repository-CI2CqDwF.js → repository-0EKOcyTL.js} +1 -1
- package/dist/assets/{settings-DIVrFrs4.js → settings-DbR9JIc3.js} +1 -1
- package/dist/assets/{studioGateApi-UqmdV50W.js → studioGateApi-B9EUTtMx.js} +1 -1
- package/dist/assets/{studioUrls-k_pQIuPs.js → studioUrls-BR4ZL-TN.js} +1 -1
- package/dist/assets/{useArchivedVibe64Sessions-BkWrTOzg.js → useArchivedVibe64Sessions-B8VDhA9F.js} +1 -1
- package/dist/assets/useAssistantAttachments-C9kAnWqw.js +2 -0
- package/dist/assets/useCommand-CfqxMb4C.js +1 -0
- package/dist/assets/{useEndpointResource-DZTjr9gg.js → useEndpointResource-BwGXpV2u.js} +1 -1
- package/dist/assets/{useUiFeedback-BU4NyMq8.js → useUiFeedback-8Wvg7A_S.js} +1 -1
- package/dist/assets/{useVibe64ConversationLog-BADhWyNY.js → useVibe64ConversationLog-7wgLlKG5.js} +2 -2
- package/dist/assets/useVibe64Learning-DkneotqS.js +5 -0
- package/dist/assets/{useVibe64SessionData-DvFvAJC-.js → useVibe64SessionData-DuJ-dHR8.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-BukDTAxb.js → useVibe64SessionSelection-BwjtqeIR.js} +1 -1
- package/dist/assets/{vibe64FileUpload-BDkcaUyk.js → vibe64FileUpload-D_rOa1R8.js} +1 -1
- package/dist/assets/{vibe64RepositoryRealtime-DX2DEqIz.js → vibe64RepositoryRealtime-CVGNqwxz.js} +1 -1
- package/dist/assets/vibe64SavedEnvValues-CCZew0j7.js +1 -0
- package/dist/assets/{vibe64SessionFocus-CzuP3qPT.js → vibe64SessionFocus-B4diopOJ.js} +1 -1
- package/dist/index.html +23 -23
- package/docs/colleague-usage/ai-accounts.md +7 -7
- package/docs/colleague-usage/ai-model-setups.md +1 -1
- package/docs/colleague-usage/ai-tasks.md +2 -1
- package/docs/colleague-usage/auto-workflow.md +67 -44
- package/docs/colleague-usage/chat-settings.md +115 -114
- package/docs/colleague-usage/coding-agent-goal-pause.md +34 -12
- package/docs/colleague-usage/coding-agent-goals.md +33 -16
- package/docs/colleague-usage/coding-agent-history.md +9 -0
- package/docs/colleague-usage/coding-agent-questions.md +7 -0
- package/docs/colleague-usage/coding-agent-recovery.md +3 -0
- package/docs/colleague-usage/coding-agents.md +10 -4
- package/docs/colleague-usage/connected-repositories.md +4 -1
- package/docs/colleague-usage/developing-vibe64.md +11 -5
- package/docs/colleague-usage/development-env.md +74 -32
- package/docs/colleague-usage/github-work.md +39 -5
- package/docs/colleague-usage/integrations.md +2 -2
- package/docs/colleague-usage/main-chat-approvals.md +7 -6
- package/docs/colleague-usage/message-delivery-recovery.md +1 -1
- package/docs/colleague-usage/passes.md +260 -0
- package/docs/colleague-usage/plans.md +27 -16
- package/docs/colleague-usage/session-timeline.md +93 -0
- package/docs/colleague-usage/temporary-chats.md +6 -0
- package/docs/colleague-usage/ui-pass.md +30 -32
- package/docs/colleague-usage/workspace-preparation.md +51 -0
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +12 -0
- package/node_modules/@jskit-ai/assistant-core/locales/en.json +2 -0
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +5 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/patterns/calendar-cli/example/.env.example +1 -0
- package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/api-key-connection/PATTERN.md +4 -1
- package/node_modules/@jskit-ai/connectors-catalog/patterns/oauth-connection/PATTERN.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/connectors-core/README.md +3 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +6 -0
- package/node_modules/@jskit-ai/kernel/package.json +3 -4
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +1 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/patterns/realtime-application/example/.env.example +1 -0
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
- package/node_modules/@local/vibe64-core/package.json +2 -0
- package/node_modules/@local/vibe64-execution/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +715 -666
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +989 -847
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +129 -107
- package/node_modules/@local/vibe64-genesis/src/server/index.js +632 -614
- package/node_modules/@local/vibe64-genesis/src/server/packaging.js +27 -28
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +172 -162
- package/node_modules/@local/vibe64-runtime/package.json +1 -0
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +1042 -898
- package/node_modules/@local/vibe64-terminals/package.json +2 -1
- package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +560 -420
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +586 -581
- package/package.json +15 -15
- package/server.bundle.mjs +44592 -44103
- package/dist/assets/_slug_-7Oo7pGKn.js +0 -14
- package/dist/assets/_slug_-BaxjtsgP.css +0 -1
- package/dist/assets/assistantRouting-B9cub38g.js +0 -3
- package/dist/assets/conversation-D7T_us2O.js +0 -1
- package/dist/assets/index-DSyb-mRJ.css +0 -1
- package/dist/assets/index-JBqyg0mr.js +0 -134
- package/dist/assets/useAssistantAttachments-DqlNFiha.js +0 -2
- package/dist/assets/useCommand-D-MIMmhp.js +0 -1
- package/dist/assets/useVibe64Learning-CbsI-XHB.js +0 -5
- package/dist/assets/vibe64SavedEnvValues-CgfMvj_h.js +0 -1
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
# Run a pass on your app
|
|
2
|
+
|
|
3
|
+
A pass is one kind of improvement the AI makes to your app in one go, such
|
|
4
|
+
as **Deslop** (simpler code that does the same thing), the **UI pass**
|
|
5
|
+
(screens in line with the project's UI guidance), **Review** (a test for each
|
|
6
|
+
behavior the app should have) and the other passes Genesis offers: **Visual
|
|
7
|
+
identity**, **Quality pass**, **Data pass**, **Security pass**, **User
|
|
8
|
+
experience pass** and **Speed pass**. Genesis writes what each pass does and
|
|
9
|
+
the runs it offers; Vibe64 lists them, runs the one you choose, runs the ones
|
|
10
|
+
you tick after each completed plan and suggests one now and then. The
|
|
11
|
+
**Master pass** runs several passes deeply, one after another.
|
|
12
|
+
|
|
13
|
+
## Open the Passes list
|
|
14
|
+
|
|
15
|
+
Select the checklist button (**Passes**) in the row under the main chat's
|
|
16
|
+
message box. On a phone the list opens as a sheet from the bottom of the
|
|
17
|
+
screen; on a wider screen it opens above the button.
|
|
18
|
+
|
|
19
|
+
Each row shows the pass's name, one line on what it does, and when it was
|
|
20
|
+
last completed in this project, with the number of commits since then (**Last
|
|
21
|
+
completed: Nov 10, 2026 · 12 commits since**), or **Never completed**. Genesis
|
|
22
|
+
keeps that date: it records it when the pass completes, in the project's own
|
|
23
|
+
files, so it travels with the project and counts passes completed in any
|
|
24
|
+
session. A pass that is running, or was stopped before it finished, still
|
|
25
|
+
shows its last completed date, or **Never completed**.
|
|
26
|
+
|
|
27
|
+
## Run a pass
|
|
28
|
+
|
|
29
|
+
Under each pass is a button for each run Genesis offers for it:
|
|
30
|
+
|
|
31
|
+
- **Whole app** runs the pass over the whole app: the project's own code and
|
|
32
|
+
screens in every part of it, never generated, vendored or dependency files.
|
|
33
|
+
- **Since last completed (abc1234, 42 commits)** appears once the pass has
|
|
34
|
+
completed and the commit that recorded it is still in the project's
|
|
35
|
+
history. It starts from the changes since that commit, here 42 commits
|
|
36
|
+
since `abc1234`, and judges them against the whole app, so what they
|
|
37
|
+
duplicate, or should reuse, elsewhere in the app counts too.
|
|
38
|
+
- **Deep (212 files, 18,450 lines)** runs the pass over the whole app item by
|
|
39
|
+
item: the AI first writes a checklist of every file of the project's own code
|
|
40
|
+
(here 212 files, 18,450 lines) and everything the pass adds, such as every
|
|
41
|
+
screen for the UI pass, then reads each one in full and ticks it only with
|
|
42
|
+
evidence you can check, such as a named test or a commit. Under the buttons
|
|
43
|
+
the list says **Deep reads every file: it takes much longer and uses far more
|
|
44
|
+
of your AI's allowance.** Its report opens with the count, such as **212 of
|
|
45
|
+
212 items ticked with evidence**.
|
|
46
|
+
|
|
47
|
+
Select a run. The list closes and main chat sends that run's own request,
|
|
48
|
+
which Genesis writes, as your message, which you see in the chat, such as
|
|
49
|
+
**Deslop the whole app.** or **Quality pass: the changes since commit abc1234,
|
|
50
|
+
judged against the whole app.** The pass runs in its own turn on your
|
|
51
|
+
**Senior** model, as **Deslop** and **UI pass** do when you type them;
|
|
52
|
+
**Stop** ends it like any other turn. A **Whole app** or **Since last
|
|
53
|
+
completed** run never commits, pushes or publishes: save its work as usual. A
|
|
54
|
+
**Deep** run commits its own work as it goes, in small commits that each say
|
|
55
|
+
what changed and why, and never pushes or publishes: save its work as usual.
|
|
56
|
+
|
|
57
|
+
Genesis records a pass as completed only after one of these runs finishes.
|
|
58
|
+
Typing **Deslop** or **UI pass** yourself works on your own changes for the
|
|
59
|
+
current task, and a narrowed pass you type, such as **UI pass: the bookings
|
|
60
|
+
pages**, works on that part; neither is recorded as the pass.
|
|
61
|
+
|
|
62
|
+
The run buttons are unavailable while:
|
|
63
|
+
|
|
64
|
+
- the AI is working: the list says **A pass starts when the AI is idle.
|
|
65
|
+
Wait for the current turn to finish, or stop it.**
|
|
66
|
+
- a goal is unfinished: the list says **A pass can't start during a goal.
|
|
67
|
+
Open Goal to resume or cancel it first.**
|
|
68
|
+
|
|
69
|
+
If a pass is refused anyway, for example because a turn started at the same
|
|
70
|
+
moment, the list shows the reason, such as **Quality pass uses the Senior
|
|
71
|
+
model in its own turn. Finish or stop the current turn, then send Quality
|
|
72
|
+
pass again.** Nothing starts; select the run again once the chat is free.
|
|
73
|
+
|
|
74
|
+
## Run the Master pass
|
|
75
|
+
|
|
76
|
+
The **Master pass** is the last entry in the Passes list. It runs several
|
|
77
|
+
passes deeply, one after another, so you can ask for all of them at once.
|
|
78
|
+
|
|
79
|
+
Under it is a tick box for each pass it runs, all ticked when the list
|
|
80
|
+
opens, in the order it runs them: **Review**, **Security pass**, **Data
|
|
81
|
+
pass**, **Quality pass**, **Speed pass**, **User experience pass**, **Visual
|
|
82
|
+
identity**, **UI pass** and **Deslop**. Untick a pass to leave it out. The
|
|
83
|
+
order stays the same whichever passes you tick: Review comes first, so every
|
|
84
|
+
later pass starts from tested work, then security, so the others build on what
|
|
85
|
+
it fixes, and Deslop last, so it tidies up after them. With nothing ticked, its
|
|
86
|
+
buttons are unavailable.
|
|
87
|
+
|
|
88
|
+
Its buttons are its runs, each with its size:
|
|
89
|
+
|
|
90
|
+
- **Whole app (212 files, 18,450 lines)** runs each ticked pass as a Deep run
|
|
91
|
+
over the whole app.
|
|
92
|
+
- **Since last completed (abc1234, 7 commits; 12 files, 960 lines)** appears
|
|
93
|
+
once a Master pass has completed and the commit that recorded it is still in
|
|
94
|
+
the project's history. Each ticked pass then works through the changes since
|
|
95
|
+
that commit deeply: every changed file, the code those changes use or
|
|
96
|
+
replace, and a check of the whole app for anything they repeat or leave
|
|
97
|
+
unused. The size counts the files those changes touch.
|
|
98
|
+
|
|
99
|
+
Under the buttons the list says **Runs each ticked pass deeply, one after
|
|
100
|
+
another: it takes much longer and uses far more of your AI's allowance.**
|
|
101
|
+
|
|
102
|
+
Select a run. The list closes and main chat sends Genesis's request as your
|
|
103
|
+
message: **Master pass the whole app.** with every pass ticked, or one naming
|
|
104
|
+
the ticked passes, such as **Master pass (Security pass, Data pass, Deslop)
|
|
105
|
+
the whole app.** It runs in its own turn on your **Senior** model, and
|
|
106
|
+
**Stop** ends it like any other turn. The AI finishes each pass before the next
|
|
107
|
+
starts: its work committed and the app's whole test suite passing. A pass that
|
|
108
|
+
does not apply, such as the UI pass in an app without screens, is skipped with
|
|
109
|
+
its reason. It keeps a ledger of where it is, so sending the same run again
|
|
110
|
+
after a stop carries on from there. Its report covers every pass: its
|
|
111
|
+
checklist count, what changed, its commits and anything it left for you to
|
|
112
|
+
decide. It never pushes or publishes: save its work as usual.
|
|
113
|
+
|
|
114
|
+
Each pass it runs is recorded as completed when it finishes, and so is the
|
|
115
|
+
Master pass, once every ticked pass has finished.
|
|
116
|
+
|
|
117
|
+
## Choose the passes that run after a plan
|
|
118
|
+
|
|
119
|
+
Passes start on their own at one moment only: when a plan is completed. They
|
|
120
|
+
never start when a turn ends, after a request without a plan or when you
|
|
121
|
+
**Save**; then a pass runs only when you start it from this list, with the
|
|
122
|
+
Master pass, or by typing it.
|
|
123
|
+
|
|
124
|
+
Beside each pass's runs is an **After a plan** tick. Above the passes the list
|
|
125
|
+
says **After a plan: when a plan is completed, each ticked pass checks the
|
|
126
|
+
plan's changes in its own turn, in Master pass order, then Automatically save
|
|
127
|
+
changes runs if it is on. Nothing runs after a request without a plan.**
|
|
128
|
+
|
|
129
|
+
- **Review** and **Security pass** are always ticked and can't be unticked:
|
|
130
|
+
each says **Always runs after a plan.**
|
|
131
|
+
- **Data pass**, **Quality pass**, **UI pass** and **Deslop** are ticked in a
|
|
132
|
+
new chat; **User experience pass**, **Speed pass** and **Visual identity** are
|
|
133
|
+
not.
|
|
134
|
+
- A pass whose Genesis offers a deep run over a plan's changes also has a
|
|
135
|
+
**Deeply** tick, which you can tick once **After a plan** is ticked. A deep
|
|
136
|
+
run works through every changed file item by item: it takes much longer and
|
|
137
|
+
uses far more of your AI's allowance. None is ticked in a new chat.
|
|
138
|
+
|
|
139
|
+
A tick saves at once, for this chat, and applies to the next completed plan. If
|
|
140
|
+
Vibe64 refuses the change, the tick goes back and the list shows why. Before
|
|
141
|
+
the chat has a **Chat mode**, the list says **Choose a Chat mode to change
|
|
142
|
+
these; until then the ticked passes run after a plan.** During a goal the ticks
|
|
143
|
+
are unavailable, and the list says **After a plan can change once the current
|
|
144
|
+
goal finishes.** Lessons and Fix it with AI show no ticks: they run no pass
|
|
145
|
+
after a plan.
|
|
146
|
+
|
|
147
|
+
### What happens when a plan is completed
|
|
148
|
+
|
|
149
|
+
When Senior completes a plan (see [Choose what happens once work is
|
|
150
|
+
finished](chat-settings.md#when-work-is-finished)), the ticked passes run one
|
|
151
|
+
after another, in the Master pass order: **Review**, **Security pass**, **Data
|
|
152
|
+
pass**, **Quality pass**, **Speed pass**, **User experience pass**, **Visual
|
|
153
|
+
identity**, **UI pass**, **Deslop**. Each runs in its own turn on your
|
|
154
|
+
**Senior** model, with Genesis's request for the changes since the plan's work
|
|
155
|
+
started, such as **Security pass: the changes since base commit abc1234…,
|
|
156
|
+
judged against the whole app.**, or, ticked **Deeply**, **Security pass
|
|
157
|
+
deeply: …**. Each judges those changes against the whole app. The commit they
|
|
158
|
+
start from is where the plan's work started: the commit Vibe64 noted when the
|
|
159
|
+
previous passes after a plan finished, or when a plan became current with none
|
|
160
|
+
noted, otherwise where the session's work left the project's main history.
|
|
161
|
+
|
|
162
|
+
After the last pass, the completed plan is archived and, with **Automatically
|
|
163
|
+
save changes** on, **Save** runs. These runs never change a pass's **Last
|
|
164
|
+
completed** date or its **Since last completed** run: only the runs you start
|
|
165
|
+
from this list count.
|
|
166
|
+
|
|
167
|
+
### What the chat shows after a plan
|
|
168
|
+
|
|
169
|
+
Each pass adds a notice as it starts, such as **Security pass started
|
|
170
|
+
automatically after the plan (Passes: After a plan)**, or **Data pass deeply
|
|
171
|
+
started automatically after the plan (Passes: After a plan)**.
|
|
172
|
+
|
|
173
|
+
- A ticked pass this project's Genesis can't run is skipped with its reason,
|
|
174
|
+
such as **User experience pass skipped after the plan:** followed by the
|
|
175
|
+
reason the Passes list gives for it.
|
|
176
|
+
- When Vibe64 can't tell where the plan's work started, no pass runs: **The
|
|
177
|
+
passes didn't run after the plan: Vibe64 can't tell where this plan's work
|
|
178
|
+
started in the session's history. Run them from Passes.** The plan is then
|
|
179
|
+
archived and saved as usual. Vibe64 never runs a whole-app pass instead.
|
|
180
|
+
- **Stop**, or a pass turn that fails, ends the passes: **The passes after the
|
|
181
|
+
plan stopped: Security pass was stopped, so Security pass, Data pass, Deslop
|
|
182
|
+
didn't finish and nothing was saved automatically. Run them from Passes.** The
|
|
183
|
+
completed plan stays as it is, and **Resume** doesn't restart them: start the
|
|
184
|
+
passes you still want from this list, then **Save**.
|
|
185
|
+
|
|
186
|
+
## When the project's Genesis is too old
|
|
187
|
+
|
|
188
|
+
A project runs passes with its own Genesis, the `genesis-compiler` version in
|
|
189
|
+
its `package.json`. When that version cannot run passes, the list says so
|
|
190
|
+
above the passes and names the update, such as **This project's Genesis
|
|
191
|
+
(genesis-compiler 1.10.15) cannot run passes. Update it to 1.10.21 or later
|
|
192
|
+
with npm install --save-dev genesis-compiler@1.10.21, then commit the
|
|
193
|
+
change.** The passes are still listed, without run buttons, and none is
|
|
194
|
+
suggested. When the version runs passes but lacks one, only that pass says
|
|
195
|
+
so (**This project's Genesis (genesis-compiler …) has no …**), followed by
|
|
196
|
+
the same update; a version from before the Master pass says so under it,
|
|
197
|
+
such as **This project's Genesis (genesis-compiler 1.10.21) has no Master
|
|
198
|
+
pass.** When the project's Genesis runs passes in a different way
|
|
199
|
+
from the Genesis this Vibe64 runs, the list says **This project's Genesis
|
|
200
|
+
(genesis-compiler …) runs passes differently from genesis-compiler 1.10.21.
|
|
201
|
+
Update the older of the two.**; the older one may be the project's or this
|
|
202
|
+
Vibe64's. When the project's dependencies are not
|
|
203
|
+
installed, the list says **This project's Genesis (genesis-compiler) is not
|
|
204
|
+
installed. Install the project's dependencies with npm install.**
|
|
205
|
+
|
|
206
|
+
Ask the AI in main chat to make the update the list names, then save it as
|
|
207
|
+
usual; the runs appear the next time you open the list.
|
|
208
|
+
|
|
209
|
+
## Suggestions
|
|
210
|
+
|
|
211
|
+
Now and then a short suggestion appears above the message box, such as
|
|
212
|
+
**Your app has changed a lot since Quality pass was last completed. Run it
|
|
213
|
+
again? 42 commits in 25 days.**, or **Data pass has never been completed on
|
|
214
|
+
this app. Run it? 64 commits so far.** It appears only while the chat is
|
|
215
|
+
idle: no turn running, no goal, and nothing typed in the message box. One
|
|
216
|
+
pass is suggested at a time.
|
|
217
|
+
|
|
218
|
+
Each pass has an interval, from Genesis's advice on when to run it:
|
|
219
|
+
|
|
220
|
+
| Genesis suggests running it | Passes | Suggested again after |
|
|
221
|
+
| --- | --- | --- |
|
|
222
|
+
| after each change | Deslop, UI pass, Review | 7 days and 20 commits |
|
|
223
|
+
| once a first working version exists | Visual identity | 90 days and 30 commits |
|
|
224
|
+
| every few weeks of active work | Quality pass, Data pass, Security pass, User experience pass, Speed pass | 21 days and 30 commits |
|
|
225
|
+
|
|
226
|
+
A pass is suggested once both parts of its interval have passed since it
|
|
227
|
+
last completed: the days, and that many commits. A pass that was never
|
|
228
|
+
completed is suggested once the app has that many commits in all. A pass that
|
|
229
|
+
was never completed comes first; otherwise the one most overdue for its
|
|
230
|
+
interval is suggested.
|
|
231
|
+
|
|
232
|
+
- Each run button, such as **Whole app**, starts the pass exactly as that
|
|
233
|
+
run does in the list. A suggestion never offers the **Deep** run: open the
|
|
234
|
+
Passes list for it, where its cost is shown.
|
|
235
|
+
- **Later** hides the suggestion for a week.
|
|
236
|
+
- **Dismiss** hides it until that pass runs and completes again.
|
|
237
|
+
|
|
238
|
+
A suggestion only offers: it never starts a pass by itself.
|
|
239
|
+
|
|
240
|
+
## Who can run passes
|
|
241
|
+
|
|
242
|
+
Passes run on the workspace owner's main chat, so the **Passes** button,
|
|
243
|
+
its **After a plan** ticks and suggestions appear for the owner only. A team
|
|
244
|
+
member asks the owner, or sends **Deslop** or **UI pass** in the chat, which
|
|
245
|
+
waits for the owner's approval like any other message. A team member's
|
|
246
|
+
request to change the passes after a plan is refused with **Main chat runs on
|
|
247
|
+
the workspace owner's AI. Only the owner can change its chat mode, passes after
|
|
248
|
+
a plan, Chat settings or model.**
|
|
249
|
+
|
|
250
|
+
## Ask Colleague
|
|
251
|
+
|
|
252
|
+
Colleague can explain the passes, their runs (Deep included), the Master pass,
|
|
253
|
+
the passes that run after a plan and how suggestions work, and tell you which
|
|
254
|
+
passes are ticked **After a plan**. It can start **Deslop** or a **UI pass** on
|
|
255
|
+
your own changes for you by sending that message to main chat (see [Run a UI
|
|
256
|
+
pass](ui-pass.md)). For the owner it can tick or untick **After a plan** and
|
|
257
|
+
**Deeply** through the chat mode action; it can't untick **Review** or
|
|
258
|
+
**Security pass**, and it unticks a pass only when you ask, after saying what
|
|
259
|
+
is lost. For a pass's runs or the Master pass, select one in the Passes list
|
|
260
|
+
yourself.
|
|
@@ -61,25 +61,36 @@ Updates appear while the viewer is open.
|
|
|
61
61
|
|
|
62
62
|
## Automatic completion and archival
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
each
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
64
|
+
Only Senior marks a plan Completed, once it has verified every agreed
|
|
65
|
+
requirement: in Auto, in the turn in which Senior checks the plan Junior
|
|
66
|
+
implemented; in a Senior chat, or when Senior implemented it, in Senior's own
|
|
67
|
+
work on it. A Junior or Custom
|
|
68
|
+
chat leaves the plan active for Senior to complete, and its work is saved as
|
|
69
|
+
usual. Once the final explanation has been delivered and that turn finishes, the
|
|
70
|
+
passes ticked under **After a plan** in [Passes](passes.md#choose-the-passes-that-run-after-a-plan)
|
|
71
|
+
run, each in its own turn over the plan's changes. After the last one, Vibe64
|
|
72
|
+
moves that exact Plan and Progress pair into History. Chat shows **Completed
|
|
73
|
+
plan archived** with **View plan history**, which opens this session's existing
|
|
74
|
+
viewer. The plan icon remains available and opens History when there is no
|
|
75
|
+
current plan. With **Automatically save changes** on (the default; see [Choose
|
|
76
|
+
what happens once work is finished](chat-settings.md)), Vibe64 then runs the
|
|
77
|
+
ordinary **Save** once and notes the result in chat. When a pass after the plan
|
|
78
|
+
is stopped or fails, the completed plan stays current, unarchived, and nothing
|
|
79
|
+
is saved automatically.
|
|
80
|
+
|
|
81
|
+
Senior's check of a plan runs only when Junior implemented it in Auto and the
|
|
82
|
+
plan is still active afterwards; it is not a pass, has no setting and runs no
|
|
83
|
+
pass. Work done without a plan is no longer reviewed, deslopped or UI-passed
|
|
84
|
+
automatically: ask for those from [Passes](passes.md), through the Master pass,
|
|
85
|
+
or by typing the request in chat.
|
|
86
|
+
|
|
87
|
+
Senior can update checklist ticks and Progress while checking the plan without preventing
|
|
88
|
+
completion. The agreed plan wording must still match the checked scope, and
|
|
78
89
|
completion uses the latest saved Plan and Progress together.
|
|
79
90
|
|
|
80
91
|
A finished implementation or an agent's handoff explanation is not completion.
|
|
81
|
-
Interrupted
|
|
82
|
-
plan. A different plan created while
|
|
92
|
+
Interrupted checks, unfinished plans and unrelated requests do not archive a
|
|
93
|
+
plan. A different plan created while Senior checks one is not archived by that check.
|
|
83
94
|
If automatic archival cannot be confirmed, the notice explains the problem;
|
|
84
95
|
inspect Current plan and History before retrying Archive. Older completed plans
|
|
85
96
|
are not moved retroactively just by opening or restoring a session.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# See what happened in a session (session timeline)
|
|
2
|
+
|
|
3
|
+
Each session keeps a short **timeline** of what happened to it, so you, or
|
|
4
|
+
whoever helps you, can see why an AI turn stopped or why the page said the
|
|
5
|
+
connection was lost. It is read with one command in a terminal on the computer
|
|
6
|
+
that runs Vibe64; there is no screen for it.
|
|
7
|
+
|
|
8
|
+
## Read it
|
|
9
|
+
|
|
10
|
+
List the sessions that have a timeline, most recent first:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npx vibe64 timeline
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Each line shows when the session's timeline last changed, its project, its
|
|
17
|
+
session id and its size. A session's id is also the end of its working branch,
|
|
18
|
+
`vibe64/<session id>`.
|
|
19
|
+
|
|
20
|
+
Show one session, oldest event first:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
npx vibe64 timeline 2026-11-14_04-58-00
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
2026-11-14T05:00:00.000Z Browser tab connected (tab tab:5f…; user owner)
|
|
28
|
+
2026-11-14T05:00:05.000Z Turn started (Main chat; engine claude; message message_tab_…; asked by owner; via POST /api/…)
|
|
29
|
+
2026-11-14T05:00:06.000Z Turn running (Main chat; engine claude; turn 7c…)
|
|
30
|
+
2026-11-14T05:01:00.000Z Browser tab disconnected (tab tab:5f…; user owner; reason: ping timeout)
|
|
31
|
+
2026-11-14T05:01:30.000Z Browser tab reconnected (tab tab:5f…; user owner; after 30 s offline)
|
|
32
|
+
2026-11-14T05:02:10.000Z Turn finished (Main chat; engine claude; turn 7c…)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Narrow it down:
|
|
36
|
+
|
|
37
|
+
| Option | Shows |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| `--since 2h` | Events from the last two hours. Also `90s`, `30m`, `7d`, or an ISO time such as `2026-11-14T05:00:00Z`. |
|
|
40
|
+
| `--until TIME` | Events before that time. |
|
|
41
|
+
| `--kind turn,connection` | Only those kinds: `turn`, `conversation`, `process`, `connection`, `request`, `server`. |
|
|
42
|
+
| `--project NAME` | The project to use when two projects have a session with that id; the command says so. |
|
|
43
|
+
| `--json` | One JSON object per line, for tools. |
|
|
44
|
+
| `--state-root DIR` | Another Vibe64 state folder (see below). |
|
|
45
|
+
|
|
46
|
+
`npx vibe64 timeline --help` prints the same list. A session without a timeline
|
|
47
|
+
answers **No timeline for session …**.
|
|
48
|
+
|
|
49
|
+
## What it records
|
|
50
|
+
|
|
51
|
+
- **Turns**: a message that started a turn or joined the running one, a
|
|
52
|
+
message that was not sent (with its error code), the turn running, and how it ended:
|
|
53
|
+
finished, failed, interrupted, cancelled, stopped at its deadline, or Vibe64
|
|
54
|
+
losing sight of it. **Cancel requested** and **Stop requested** say who asked,
|
|
55
|
+
why (such as `cancel-message`) and through which request; `via background`
|
|
56
|
+
means Vibe64 asked by itself. Each line names the chat (**Main chat**, a **temporary
|
|
57
|
+
chat** or an **AI task window**) and the AI engine.
|
|
58
|
+
- **Conversations**: temporary chats and AI tasks opened and closed, and an
|
|
59
|
+
AI engine session closed, for example when the session's AI changes.
|
|
60
|
+
- **AI engine processes**: a Claude Code process started, stopped by Vibe64
|
|
61
|
+
(with the reason), or exited (with its exit code or signal).
|
|
62
|
+
- **Browser connections**: each browser tab that opens the session, leaves it,
|
|
63
|
+
disconnects (with the reason, such as `ping timeout` or `transport close`)
|
|
64
|
+
and reconnects (with how long it was away). A dropped connection never stops
|
|
65
|
+
a running turn; the timeline shows the two side by side.
|
|
66
|
+
- **Failed requests**: a request about the session that failed on Vibe64's side
|
|
67
|
+
(status 500 or above), with its method, route, status and error code.
|
|
68
|
+
- **Server stopping**: Vibe64 stopping while the session was in use.
|
|
69
|
+
|
|
70
|
+
It records ids, states, reasons and error codes only. It never holds your
|
|
71
|
+
messages, the AI's replies, prompts, tool output, file contents or secrets.
|
|
72
|
+
|
|
73
|
+
## Where it is kept
|
|
74
|
+
|
|
75
|
+
The timeline stays on the computer that runs Vibe64, beside the session's other
|
|
76
|
+
state: `<state folder>/projects/<project>/timeline/<session id>.jsonl`. The
|
|
77
|
+
state folder is `~/.local/state/vibe64` on Linux (or `$XDG_STATE_HOME/vibe64`),
|
|
78
|
+
`~/Library/Application Support/Vibe64` on macOS, or the folder in
|
|
79
|
+
`VIBE64_SYSTEM_ROOT` when Vibe64 was started with it; `--state-root` reads
|
|
80
|
+
another one.
|
|
81
|
+
|
|
82
|
+
Only the account that runs Vibe64 (and the computer's administrator) can read
|
|
83
|
+
it. Nothing sends it anywhere: to share it, copy the lines you want to share.
|
|
84
|
+
|
|
85
|
+
A session keeps at most two files of 1 MB each: when the newest is full it
|
|
86
|
+
replaces the older one, so a busy day keeps its most recent events. A
|
|
87
|
+
timeline untouched for 14 days is removed.
|
|
88
|
+
|
|
89
|
+
## Colleague
|
|
90
|
+
|
|
91
|
+
Colleague can explain what each timeline line means and which options to use,
|
|
92
|
+
but it does not run terminal commands and cannot read the timeline itself:
|
|
93
|
+
run the command and paste the lines you want explained.
|
|
@@ -147,6 +147,12 @@ message is sent. A tab that lost its connection catches up when it reconnects.
|
|
|
147
147
|
Every open tab shows the same progress: when the reply arrives, “AI is working…”
|
|
148
148
|
clears in each tab, including tabs that did not send the message.
|
|
149
149
|
|
|
150
|
+
A lost connection, a reconnect or a reload never stops the AI. Its turn keeps
|
|
151
|
+
running on the server; when the tab reconnects or reloads, the chat shows that
|
|
152
|
+
same turn still working, with what the AI wrote meanwhile, and then its answer.
|
|
153
|
+
Only **Stop**, **Cancel**, closing the chat or a Vibe64 restart end a turn. This
|
|
154
|
+
works the same on desktop and phone.
|
|
155
|
+
|
|
150
156
|
Leaving the view does not stop work or close a chat, and it still saves the
|
|
151
157
|
draft and settings you just changed. Use **Stop** to interrupt
|
|
152
158
|
work while retaining the conversation, or **Close** (the X on the chat's tab) to
|
|
@@ -9,8 +9,9 @@ checks the screens it changed in the managed browser and reports what changed
|
|
|
9
9
|
and what it verified. It never commits, pushes or publishes.
|
|
10
10
|
|
|
11
11
|
The UI pass sits beside Deslop. Deslop cleans up code; the UI pass cleans up
|
|
12
|
-
screens. Each runs
|
|
13
|
-
|
|
12
|
+
screens. Each runs automatically after a completed plan, while it is ticked
|
|
13
|
+
under **After a plan** in [Passes](passes.md#choose-the-passes-that-run-after-a-plan),
|
|
14
|
+
or when you ask for it in the chat.
|
|
14
15
|
|
|
15
16
|
## Ask for a UI pass in the chat
|
|
16
17
|
|
|
@@ -26,6 +27,11 @@ Type one of these as the whole message in main chat and send it:
|
|
|
26
27
|
only mentions the UI pass, such as “What does the UI pass change?”, is ordinary
|
|
27
28
|
chat and starts nothing.
|
|
28
29
|
|
|
30
|
+
**Whole app** under **UI pass** in the chat's **Passes** list sends `UI pass
|
|
31
|
+
the whole app.` for you, and **Since last completed (…)** the changes since
|
|
32
|
+
the UI pass last completed, judged against the whole app; only those runs are
|
|
33
|
+
recorded as the UI pass completing. See [Run a pass on your app](passes.md).
|
|
34
|
+
|
|
29
35
|
The UI pass runs in its own turn on your **Senior** model, whatever the chat
|
|
30
36
|
mode, the way “Deslop” does; in **Custom** it uses the Custom model. It is not
|
|
31
37
|
reviewed again afterwards and does not change or reopen the current plan.
|
|
@@ -43,31 +49,22 @@ so you can send it again once the chat is free. If your Senior model is
|
|
|
43
49
|
unavailable, or cannot use coding tools, the UI pass is refused with that
|
|
44
50
|
reason instead of running on Junior; choose a Senior model in **Models**.
|
|
45
51
|
|
|
46
|
-
## Run it automatically after
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
a
|
|
62
|
-
Automatic UI pass** saves it off. The line under the switch is a reminder of the
|
|
63
|
-
chat command: **Or tell the agent “UI pass” any time — add “: <section>” or “:
|
|
64
|
-
the whole app”.** The chat-mode button's label adds **Automatic UI pass on**
|
|
65
|
-
while it is on. It is the owner's main chat choice: a team member sees it
|
|
66
|
-
disabled, and it is disabled while a goal is active. Temporary chats and AI
|
|
67
|
-
tasks have no automatic UI pass; ask for one in main chat instead. See [Choose
|
|
68
|
-
what runs after each piece of work](chat-settings.md) for all four switches.
|
|
69
|
-
|
|
70
|
-
**Chat mode** and the switch are the same on desktop and mobile.
|
|
52
|
+
## Run it automatically after a plan
|
|
53
|
+
|
|
54
|
+
The UI pass also runs on its own when a plan is completed, while its **After a
|
|
55
|
+
plan** tick in [Passes](passes.md#choose-the-passes-that-run-after-a-plan) is
|
|
56
|
+
ticked, as it is for new chats. It then runs in its own turn on your **Senior**
|
|
57
|
+
model, after the other ticked passes and before Deslop, over the changes since
|
|
58
|
+
the plan's work started, and the chat notes **UI pass started automatically
|
|
59
|
+
after the plan (Passes: After a plan)** as it starts. It never runs on its own
|
|
60
|
+
after a request without a plan, when a turn ends or when you **Save**: type
|
|
61
|
+
**UI pass** for that work instead.
|
|
62
|
+
|
|
63
|
+
The tick is saved for each chat, so a chat that has it unticked keeps it so
|
|
64
|
+
until you tick it, and its change applies to the next completed plan. It is the
|
|
65
|
+
owner's main chat choice: team members don't see Passes, and the ticks are
|
|
66
|
+
unavailable while a goal is active. Temporary chats and AI tasks run no pass
|
|
67
|
+
after a plan; ask for one in main chat instead.
|
|
71
68
|
|
|
72
69
|
## Ask Colleague
|
|
73
70
|
|
|
@@ -77,12 +74,13 @@ Colleague can explain the UI pass and its scopes. It can also:
|
|
|
77
74
|
session”; Colleague sends the matching `UI pass` message to main chat, which
|
|
78
75
|
you then see there. A team member's message waits for the owner's approval as
|
|
79
76
|
any other main chat message does.
|
|
80
|
-
-
|
|
81
|
-
|
|
77
|
+
- tick or untick the UI pass **After a plan** for the owner through the chat
|
|
78
|
+
mode action, and tell you whether it is ticked.
|
|
82
79
|
|
|
83
80
|
A question or an offer starts nothing; Colleague acts only on your direct
|
|
84
81
|
request or an offer you accept.
|
|
85
82
|
|
|
86
|
-
See [
|
|
87
|
-
|
|
88
|
-
Auto
|
|
83
|
+
See [Run a pass on your app](passes.md) for the passes after a plan, [Choose
|
|
84
|
+
what happens once work is finished](chat-settings.md) for automatic save,
|
|
85
|
+
[Choose Auto roles and follow the workflow](auto-workflow.md) for Auto, and
|
|
86
|
+
[Goals and model changes](coding-agent-goals.md) for goals.
|
|
@@ -57,6 +57,57 @@ it succeeds. A failure goes back to the same conversation. Cancelling the fix
|
|
|
57
57
|
while that preparation runs stops its running step; the card then reports the
|
|
58
58
|
preparation as cancelled, and the next preparation runs every step again.
|
|
59
59
|
|
|
60
|
+
## Preparation runs once per source
|
|
61
|
+
|
|
62
|
+
A successful preparation remembers the exact source it prepared: the session's
|
|
63
|
+
commit and uncommitted changes, each connected repository's commit and
|
|
64
|
+
uncommitted changes, and the setup recipe (files Git ignores, such as installed
|
|
65
|
+
dependencies, are not part of it). After **Update this session**, preparation
|
|
66
|
+
runs only when one of these differs from what the last successful preparation
|
|
67
|
+
prepared. An Update that brought nothing in, or whose changes were undone, says
|
|
68
|
+
`This source is already prepared, so no step runs again.` in the preparation
|
|
69
|
+
output and runs no step. A failed or cancelled preparation is never remembered,
|
|
70
|
+
so the next one runs every step. **Prepare workspace** and **Retry** always run
|
|
71
|
+
every step. A session prepared before this behaviour runs its steps after its
|
|
72
|
+
next Update, as before, and is remembered from then on.
|
|
73
|
+
|
|
74
|
+
When the source did change, a step that names the files it reads runs only when
|
|
75
|
+
those files changed since it last succeeded. In `genesis/stack.md` such a step
|
|
76
|
+
lists them after `from`, for example
|
|
77
|
+
``- Prepare `Install dependencies` from `package.json` `package-lock.json` with `nodejs`: `npm` `ci` ``.
|
|
78
|
+
After an Update that changed only documentation, that step adds
|
|
79
|
+
`[Install dependencies] Skipped: what it reads and runs is unchanged since it last succeeded.`
|
|
80
|
+
to the preparation output and installs nothing. A changed file it names, a
|
|
81
|
+
changed command, new or recreated databases, or a failure of that step the last
|
|
82
|
+
time runs it again. A step without `from` runs every time, as before. Genesis's
|
|
83
|
+
Stack technologies propose `from` for their install and database steps; a
|
|
84
|
+
project's existing `genesis/stack.md` keeps its steps as written until the
|
|
85
|
+
project's coding assistant or the person adds it. To run every step anyway,
|
|
86
|
+
select **Prepare workspace**. Colleague can explain a skipped step from the
|
|
87
|
+
preparation output; editing `genesis/stack.md` belongs to the coding assistant
|
|
88
|
+
or the person.
|
|
89
|
+
|
|
90
|
+
One preparation runs at a time in a session, whichever starts it. A Preview
|
|
91
|
+
start in another tab, or the end of an assistant turn, waits for the running
|
|
92
|
+
preparation instead of starting another; a session that is already prepared
|
|
93
|
+
starts its Preview without waiting for anything else.
|
|
94
|
+
|
|
95
|
+
**Update this session** started while preparation runs waits for it: Update's
|
|
96
|
+
progress says, for example,
|
|
97
|
+
`The workspace is being prepared (Install dependencies); waiting for it to finish.`
|
|
98
|
+
and continues by itself once preparation ends. An AI task's **Cancel** ends that
|
|
99
|
+
wait and leaves the session unchanged. If preparation is still running after 20
|
|
100
|
+
minutes, Update stops with
|
|
101
|
+
`The workspace is being prepared (Install dependencies). Try again when it finishes.`
|
|
102
|
+
|
|
103
|
+
When another operation briefly holds the session, the refusal names it, for
|
|
104
|
+
example `The workspace is being prepared. Try again when it is ready.`,
|
|
105
|
+
`This session is being updated. Try again when Update finishes.` or
|
|
106
|
+
`This session is being saved. Try again when Save finishes.` Try again when that
|
|
107
|
+
operation ends; nothing has changed. Colleague can explain these messages and
|
|
108
|
+
the current preparation result; starting preparation again needs the person's
|
|
109
|
+
request.
|
|
110
|
+
|
|
60
111
|
## Retrying a failed setup
|
|
61
112
|
|
|
62
113
|
Only a successful setup is reused. A failed one is never treated as done:
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- A Codex conversation no longer fails to start on a busy host because its app-server took longer to answer than the conversation's admission deadline. The common runtime's Codex driver passed `limits.admissionTimeoutMs` as the app-server's start deadline, so a host that set a short admission deadline (2 seconds, say, to notice a lost acknowledgement soon) also gave each start that long, and a start slowed by the host's load failed with `codex_app_server_ready_timeout` ("Codex app-server did not become ready at …"). The start now has its own 30-second bound, as OpenCode's has, and `admissionTimeoutMs` bounds only the requests that admit a message.
|
|
6
|
+
- An OpenCode message no longer fails with `TimeoutError: The operation was aborted due to timeout` when the shared OpenCode server answers its health probe in more than a second. Before each message's preparation, and when a conversation checks that its native session is ready, the runtime probed the running server with a fixed one-second deadline and failed the message when a busy host answered later. Each probe now waits up to the readiness bound a starting server has (`OPENCODE_READY_TIMEOUT_MS`, 30 seconds), so only a hung server fails it; `createOpenCodeSharedRuntime` takes `healthTimeoutMs` to set another. A refused connection still replaces the stopped server at once, and a probe that times out still keeps every other conversation on the server.
|
|
7
|
+
- A native process's identity check on Linux reads `/proc` 32 processes at a time instead of one at a time. Every process is still read, since a runtime's processes can leave its process group, but each of a scan's two reads per process had waited behind the host's other file work: on a busy desktop a scan took a third of a second, and stopping and settling a Codex app-server scans several times.
|
|
8
|
+
- An application tool's failure takes the status the HTTP layer answers with (`resolveApiErrorStatus` from `@jskit-ai/kernel/server/runtime/errors`), so a refusal json-rest-api throws without a status, such as a `REST_API_VALIDATION` "Foreign key fields cannot be set directly in attributes", reaches the model as a 422 with its message, as a person reads it, instead of "Tool call failed." with status 500, which also ended the turn as an operation whose outcome is unknown. A json-rest-api resource that is missing, forbidden or in conflict answers 404, 403 or 409 with its message and code, as over HTTP. A refusal json-rest-api wraps in a `RestApiWriteError`, which copies its message, code, status and details, reads as the refusal itself, field errors included. An internal failure, `REST_API_TEMPORAL_DATA_INVALID` among them, still reads only "Tool call failed.".
|
|
9
|
+
- A refusal json-rest-api raises itself reaches the model with its status and code but the message "Tool call failed.", no longer json-rest-api's own text: those sentences are for the code that called it, and name internal resource types and record ids ("Cannot create relationship to non-existent <type> with id <id>", "Resource not found", "Foreign key fields cannot be set directly in attributes"), while the model relays a tool's failure to people. The message is a refusal's own only when the application raised it with its status (an `AppError`, a `DomainValidationError`, an action's input check or permission refusal), as the failure itself or inside json-rest-api's `RestApiWriteError`, field errors included as before. An error that copies a json-rest-api error's message (the resource runtime's 400 for an invalid sparse fieldset) and a database error json-rest-api wraps in a conflict read as json-rest-api's. An application that wants a person to read why a write was refused raises its own refusal before the write, in its own words.
|
|
10
|
+
- A validation error an action throws as it runs, such as `createValidationError({ parcels: "..." })` or a `DomainValidationError` with field errors, now reaches the model with its field errors, as a refusal by the action's input check already did: the tool result's message is the error's own followed by each field error (`Validation failed. parcels: The parcel weights add up to 12 kg, not the 15 kg recorded.`) instead of only `Validation failed.`, so the AI can tell the person what to fix. The catalogue recognises a validation error as the HTTP layer does, by the field errors a refusal carries (`errorFieldErrors` from `@jskit-ai/kernel/shared/validators`), so the model reads the field errors a person would see on screen. An internal failure still reads only `Tool call failed.`, and any other refusal, a permission or not-found refusal among them, still gives only its message and code, never its details. An unsaved action's refusal, like its result, stays in the live reply.
|
|
11
|
+
- An action may declare `extensions.assistant.unsaved: true` for a tool whose call must not outlive the reply, such as listing the anonymous surveys open to a person. Its call (name, arguments) and result reach the model only within the live turn: no reservation or result is saved, no `tool` event is published, `metadata.applicationTools` leaves it out, the kernel writes no `action.execution` line, and a later turn never reads it. No placeholder marks where it ran; instead the tool's description carries a fixed note that its call and result are kept only for this reply. A step that only ran unsaved tools takes no `reply-N` number, a lost outcome ends the turn with the generic `assistant.turn.requestIncomplete` error, and a reply offering one sends `store: false` to OpenAI's and xAI's Responses APIs. The catalogue's descriptors carry `unsaved`, so an app test can assert it. `resolveToolSet(context, { offerUnsaved, unsavedRefusal })` offers unsaved tools only to a caller that keeps them (`offerUnsaved: true`), only as direct tools (ahead of `alwaysAvailable` actions beside discovery, within the same eight), never through discovery, and lists the actions it holds back in the tool set's `withheld` with a plain reason. Each driver declares `unsavedToolsRefusal`: empty for the API engine; Claude, Codex and OpenCode, which save every tool call in their own history, refuse with their reason. `createConversationTools()` takes `offerUnsaved` and `unsavedRefusal`, and refuses a supplied tool set that offers an unsaved tool without `offerUnsaved`. A malformed `unsaved` (anything but `true` or `false`) stops the catalogue with an error naming the action, instead of leaving the action out.
|
|
12
|
+
- A message to a Claude conversation whose previous Claude process stopped during a background command no longer fails with "Claude has no active turn for this message." (`conversation_steer_turn_finished`). The resumed Claude reports that command as stopped, with a result, while the message's turn is being prepared, and that result ended the turn before the message was written. That exact pre-write rejection now admits the same message once more, as a goal command's already did; a second such rejection still fails, unsent.
|
|
13
|
+
- A Claude goal that Claude pauses or blocks through its own goal tool, or that its host pauses or blocks while Claude is idle, now has Claude's goal checker stood down at once, with `/goal clear` on the process still running (Claude's own turn is interrupted first), instead of the next time Claude starts. Claude's "Goal cleared" record then sits beside that Pause in its history rather than just above the person's next message, where a model read the goal as gone and would not resume it when asked. Without a running process, during another turn, or when that clear fails, the next start clears the checker as before; a start whose history shows no goal sends no second `/goal clear`.
|
|
14
|
+
- The Claude engine lists the application's MCP tools as always loaded (`_meta["anthropic/alwaysLoad"]`), so Claude calls them directly instead of first searching for them with ToolSearch.
|
|
15
|
+
- `AssistantGoalControl` shows when a host continues a goal waiting at its AI account's usage limit by itself. A goal state's `goal` may carry `resumesAt` (epoch seconds): the time the host continues it, once the limit has reset. A `usageLimited` goal with `resumesAt` (and not `outOfCredit`) reads **Goal waits: usage limit** on the chip, with the orange waiting light, and its details say "The goal continues by itself at 05:01, once the limit has reset; choose Resume goal to try sooner." (with the day when that is not today); Pause, Resume and Cancel stay offered. Without `resumesAt` it reads as before, **Goal paused: usage limit** with the reset time and "does not continue by itself", and out of credit never shows a continuation time. New texts `jskit.assistant.goal.usageLimitedResumes` and `jskit.assistant.goal.usageLimitedResumesHint`; the goal state's type documents `resetsAt`, `outOfCredit` and `resumesAt`.
|
|
16
|
+
- New `latestAssistantQuestionsAwaitingUserReply(conversationLog, { lookback = 10 })` (from `/shared/conversation`) finds the questions the AI is still waiting for an answer to when it added a short message after them, such as "No files have changed. I'll build it once you've answered those three." `latestAssistantMessageAwaitingUserReply` returns only that last message, so a question form fed by it disappeared. The new helper starts where that one does, at the AI's newest completed reply (nothing while it is in progress, nothing after the person's latest message), reads back over that reply and the AI's earlier replies and commentary since the person's latest message, at most `lookback` of them (thinking does not count), and returns the text of the newest one with numbered questions or answer choices, or "". Questions the AI wrote before a tool call are saved as commentary, so they count. `latestAssistantMessageAwaitingUserReply` is unchanged and now reads the same walk.
|
|
5
17
|
- A message lost on its way to an OpenCode conversation bound to its host no longer makes every later message fail as unconfirmed (`conversation_delivery_uncertain`, or the host's own changeover code). When the host's prepared-message inspection proves that the prompt never arrived (`admission: "not-admitted"`, for example a prompt absent from complete native history whose receiving server was replaced), the OpenCode driver passes that proof to the runtime as `notAdmitted`, as the Claude driver does, instead of dropping it so that the runtime read it as unknown. `inspectDelivery({ messageId })` then reports the message `not-sent`, the conversation is ready again and the next message is sent; the lost prompt is never sent again. An inspection that answers `unknown` stays unknown.
|
|
6
18
|
- A Claude conversation keeps working when a Stop, a crashed Claude process or the next message arrives while Claude's previous turn still waits on its host (publishing, saving, storing an admission). The shared Claude turn now gives each native frame a lease on its turn: a Stop, a reset or the next turn's start supersedes it, and a superseded frame ends at that wait before it reads, changes or publishes anything of the turn that replaced it. Such a frame used to fail with "Cannot read properties of null (reading 'status')", publish the old turn's message, phase or diagnostic into the next turn, or complete the next turn with the old turn's result; a finished turn's goal refresh now resolves that turn's own completion. A steer to the same turn still lands, and a frame decides from the state it finds after each wait. A message being prepared for a turn that a Stop or the next message replaces meanwhile is no longer written to the stopped Claude, and its failure no longer stops the Claude that replaced it: it fails as not sent (`conversation_claude_turn_superseded`).
|
|
7
19
|
- A message lost with a failed Claude process no longer makes every later message fail as unconfirmed (`conversation_delivery_uncertain`, or the host's own changeover code). When the next message checks the earlier attempt, a Claude history without it and no live process that it was written to prove that it never arrived (`not-admitted`), and the conversation runtime now passes that proof to the changeover instead of reading every answer but `accepted` as unknown. A message Claude did record is accepted and never sent again, a prompt whose pipe write failed is reported `delivery: "not-sent"`, and a prompt written to a process still running stays unknown until that process settles it. The server records which process it wrote each prompt to, so a prompt it has no record of was written, if at all, by an earlier server, and only that server's Claude can still record it while its exit is unproven: a conversation already holding such an attempt clears it with its next message.
|
|
@@ -131,6 +131,8 @@
|
|
|
131
131
|
"unavailable": "Goal unavailable",
|
|
132
132
|
"usageLimited": "Goal paused: usage limit",
|
|
133
133
|
"usageLimitedHint": "The AI account reached its usage limit. The goal does not continue by itself: choose Resume goal once the AI account can work again.",
|
|
134
|
+
"usageLimitedResumes": "Goal waits: usage limit",
|
|
135
|
+
"usageLimitedResumesHint": "The AI account reached its usage limit. The goal continues by itself at {time}, once the limit has reset; choose Resume goal to try sooner.",
|
|
134
136
|
"usageLimitedUntilHint": "The AI account reached its usage limit, which resets at {time}. The goal does not continue by itself: choose Resume goal once it resets."
|
|
135
137
|
},
|
|
136
138
|
"longText": {
|