vibe64 0.1.78 → 0.1.80
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 +1523 -1512
- package/bin/server.js +100 -98
- package/bin/upgrade-state.js +3288 -3277
- package/dist/assets/{GithubBrowserTabs-B2r19V0U.js → GithubBrowserTabs-d5SRhPw-.js} +1 -1
- package/dist/assets/GithubBrowserTabs-d5SRhPw-.js.br +0 -0
- package/dist/assets/GithubBrowserTabs-d5SRhPw-.js.gz +0 -0
- package/dist/assets/{LocalDatabaseServer-Ck9nZrGW.js → LocalDatabaseServer-CIAX_Xx8.js} +1 -1
- package/dist/assets/LocalDatabaseServer-CIAX_Xx8.js.br +0 -0
- package/dist/assets/LocalDatabaseServer-CIAX_Xx8.js.gz +0 -0
- package/dist/assets/{Vibe64DashboardPageHeader-C4iTKeE0.js → Vibe64DashboardPageHeader-CyYFBVSw.js} +1 -1
- package/dist/assets/Vibe64DashboardPageHeader-CyYFBVSw.js.br +0 -0
- package/dist/assets/Vibe64DashboardPageHeader-CyYFBVSw.js.gz +0 -0
- package/dist/assets/{Vibe64DatabaseWorkspace-ChA-2QPU.js → Vibe64DatabaseWorkspace-Dep64whC.js} +1 -1
- package/dist/assets/Vibe64DatabaseWorkspace-Dep64whC.js.br +0 -0
- package/dist/assets/{Vibe64DatabaseWorkspace-ChA-2QPU.js.gz → Vibe64DatabaseWorkspace-Dep64whC.js.gz} +0 -0
- package/dist/assets/{Vibe64FileArea-DBEJsJSq.js → Vibe64FileArea-r9PP5pT7.js} +1 -1
- package/dist/assets/Vibe64FileArea-r9PP5pT7.js.br +0 -0
- package/dist/assets/Vibe64FileArea-r9PP5pT7.js.gz +0 -0
- package/dist/assets/Vibe64OutputControls-B6wjUtLL.js +8 -0
- package/dist/assets/Vibe64OutputControls-B6wjUtLL.js.br +0 -0
- package/dist/assets/Vibe64OutputControls-B6wjUtLL.js.gz +0 -0
- package/dist/assets/{Vibe64OutputControls-aQCEvUL2.css → Vibe64OutputControls-gSUdkqME.css} +1 -1
- package/dist/assets/Vibe64OutputControls-gSUdkqME.css.br +0 -0
- package/dist/assets/Vibe64OutputControls-gSUdkqME.css.gz +0 -0
- package/dist/assets/{Vibe64RepositoryWorkspace-sT07hHPs.js → Vibe64RepositoryWorkspace-C_ez14Jz.js} +1 -1
- package/dist/assets/Vibe64RepositoryWorkspace-C_ez14Jz.js.br +0 -0
- package/dist/assets/Vibe64RepositoryWorkspace-C_ez14Jz.js.gz +0 -0
- package/dist/assets/{Vibe64SessionFiles-Djef01EV.js → Vibe64SessionFiles-CJPrBsND.js} +1 -1
- package/dist/assets/Vibe64SessionFiles-CJPrBsND.js.br +0 -0
- package/dist/assets/Vibe64SessionFiles-CJPrBsND.js.gz +0 -0
- package/dist/assets/{Vibe64SessionSourceEditor-CIGBLYYN.js → Vibe64SessionSourceEditor-CwE0Y-ka.js} +1 -1
- package/dist/assets/Vibe64SessionSourceEditor-CwE0Y-ka.js.br +0 -0
- package/dist/assets/Vibe64SessionSourceEditor-CwE0Y-ka.js.gz +0 -0
- package/dist/assets/{Vibe64UiStoryboardView-CjkWoB8b.js → Vibe64UiStoryboardView-COViVA_8.js} +1 -1
- package/dist/assets/Vibe64UiStoryboardView-COViVA_8.js.br +0 -0
- package/dist/assets/Vibe64UiStoryboardView-COViVA_8.js.gz +0 -0
- package/dist/assets/{_pageId_-BTjeqgTN.js → _pageId_-DuE37c72.js} +1 -1
- package/dist/assets/{_sessionId_-C7Jh2bL4.js → _sessionId_-T6qoKZhb.js} +1 -1
- package/dist/assets/_sessionId_-T6qoKZhb.js.br +0 -0
- package/dist/assets/_sessionId_-T6qoKZhb.js.gz +0 -0
- package/dist/assets/{_sessionTool_-DITdXCS4.js → _sessionTool_-B-b_DFay.js} +1 -1
- package/dist/assets/{access-DIaPNdxr.js → access-Dx-76I4I.js} +1 -1
- package/dist/assets/access-Dx-76I4I.js.br +0 -0
- package/dist/assets/access-Dx-76I4I.js.gz +0 -0
- package/dist/assets/{app-mELSmS67.js → app-BM5ppUKY.js} +1 -1
- package/dist/assets/app-BM5ppUKY.js.br +0 -0
- package/dist/assets/app-BM5ppUKY.js.gz +0 -0
- package/dist/assets/{changes-DlxKdjdP.js → changes-CI15aJ2s.js} +1 -1
- package/dist/assets/{client-CL02nP02.js → client-CtgiCplj.js} +2 -2
- package/dist/assets/client-CtgiCplj.js.br +0 -0
- package/dist/assets/client-CtgiCplj.js.gz +0 -0
- package/dist/assets/{client-CLpGzGwX.js → client-wU-vn9Gt.js} +2 -2
- package/dist/assets/client-wU-vn9Gt.js.br +0 -0
- package/dist/assets/client-wU-vn9Gt.js.gz +0 -0
- package/dist/assets/{dashboard-km-kuDid.js → dashboard-DD-Kz8sQ.js} +1 -1
- package/dist/assets/{english-definitions-CMICWgdF.js → english-definitions-B-puV4oO.js} +1 -1
- package/dist/assets/english-definitions-B-puV4oO.js.br +0 -0
- package/dist/assets/english-definitions-B-puV4oO.js.gz +0 -0
- package/dist/assets/{env-DjkxkxdX.js → env-CsRMp84w.js} +1 -1
- package/dist/assets/env-CsRMp84w.js.br +0 -0
- package/dist/assets/env-CsRMp84w.js.gz +0 -0
- package/dist/assets/{error-C7q1-2bC.js → error-CL5AgVRX.js} +1 -1
- package/dist/assets/error-CL5AgVRX.js.br +0 -0
- package/dist/assets/error-CL5AgVRX.js.gz +0 -0
- package/dist/assets/{fileTypes-Dbn0qwKS.js → fileTypes-CFECKFVN.js} +1 -1
- package/dist/assets/fileTypes-CFECKFVN.js.br +0 -0
- package/dist/assets/fileTypes-CFECKFVN.js.gz +0 -0
- package/dist/assets/{health-BwJ6Z251.js → health-4aQl5EcU.js} +1 -1
- package/dist/assets/health-4aQl5EcU.js.br +0 -0
- package/dist/assets/health-4aQl5EcU.js.gz +0 -0
- package/dist/assets/{history-D2TywQVv.js → history-B5Sor4EE.js} +1 -1
- package/dist/assets/history-B5Sor4EE.js.br +0 -0
- package/dist/assets/history-B5Sor4EE.js.gz +0 -0
- package/dist/assets/{index-D14nUmm7.js → index-BAvE8_Ib.js} +5 -5
- package/dist/assets/index-BAvE8_Ib.js.br +0 -0
- package/dist/assets/index-BAvE8_Ib.js.gz +0 -0
- package/dist/assets/{integrations-BZFXW2Cp.js → integrations-DksSxQbj.js} +96 -10
- package/dist/assets/integrations-DksSxQbj.js.br +0 -0
- package/dist/assets/integrations-DksSxQbj.js.gz +0 -0
- package/dist/assets/{issues-CLvbBTek.js → issues-DK2L8AHT.js} +1 -1
- package/dist/assets/issues-DK2L8AHT.js.br +0 -0
- package/dist/assets/issues-DK2L8AHT.js.gz +0 -0
- package/dist/assets/{learning-DwytxEXC.js → learning-DeuGeINY.js} +1 -1
- package/dist/assets/{packages-BeiF8W7l.js → packages-Du3QFyu-.js} +1 -1
- package/dist/assets/packages-Du3QFyu-.js.br +0 -0
- package/dist/assets/packages-Du3QFyu-.js.gz +0 -0
- package/dist/assets/{pages-BIRQk4b8.js → pages-CBvnECLI.js} +1 -1
- package/dist/assets/{pages-BnAyUdL4.js → pages-D3MpRYy4.js} +1 -1
- package/dist/assets/pages-D3MpRYy4.js.br +0 -0
- package/dist/assets/pages-D3MpRYy4.js.gz +0 -0
- package/dist/assets/{project-GnljGud1.js → project-BFylqlOt.js} +13 -13
- package/dist/assets/project-BFylqlOt.js.br +0 -0
- package/dist/assets/project-BFylqlOt.js.gz +0 -0
- package/dist/assets/project-BZ-FhyDR.css +1 -0
- package/dist/assets/project-BZ-FhyDR.css.br +0 -0
- package/dist/assets/project-BZ-FhyDR.css.gz +0 -0
- package/dist/assets/{project-files-e4-Q65vT.js → project-files-CHgBwX2E.js} +1 -1
- package/dist/assets/project-files-CHgBwX2E.js.br +0 -0
- package/dist/assets/project-files-CHgBwX2E.js.gz +0 -0
- package/dist/assets/{project-shared-ShellOutlet-DKYDipmC.js → project-shared-ShellOutlet-CIoqgO35.js} +1 -1
- package/dist/assets/project-shared-ShellOutlet-CIoqgO35.js.br +0 -0
- package/dist/assets/project-shared-ShellOutlet-CIoqgO35.js.gz +0 -0
- package/dist/assets/{project-shared-VBottomSheet-BSE28ENQ.js → project-shared-VBottomSheet-Bezz1r7A.js} +1 -1
- package/dist/assets/project-shared-VBottomSheet-Bezz1r7A.js.br +0 -0
- package/dist/assets/project-shared-VBottomSheet-Bezz1r7A.js.gz +0 -0
- package/dist/assets/{project-shared-VToolbar-CrezJP9z.js → project-shared-VToolbar-DmXu_VIt.js} +1 -1
- package/dist/assets/project-shared-VToolbar-DmXu_VIt.js.br +0 -0
- package/dist/assets/project-shared-VToolbar-DmXu_VIt.js.gz +0 -0
- package/dist/assets/{project-shared-pageNames-6Jz0BfbS.js → project-shared-pageNames-BiomB55Q.js} +1 -1
- package/dist/assets/project-shared-pageNames-BiomB55Q.js.br +0 -0
- package/dist/assets/project-shared-pageNames-BiomB55Q.js.gz +0 -0
- package/dist/assets/{pull-requests-DH9gWw10.js → pull-requests-CPBGulVu.js} +1 -1
- package/dist/assets/pull-requests-CPBGulVu.js.br +0 -0
- package/dist/assets/pull-requests-CPBGulVu.js.gz +0 -0
- package/dist/assets/{repository-BNltUuvb.js → repository-CWDpx49H.js} +1 -1
- package/dist/assets/{session-Ck9aH4Yl.js → session-D2z1O4Y4.js} +1 -1
- package/dist/assets/session-D2z1O4Y4.js.br +0 -0
- package/dist/assets/session-D2z1O4Y4.js.gz +0 -0
- package/dist/assets/{settings-D8Ofbk56.js → settings-BZRdBSb9.js} +1 -1
- package/dist/assets/settings-BZRdBSb9.js.br +0 -0
- package/dist/assets/settings-BZRdBSb9.js.gz +0 -0
- package/dist/assets/{useArchivedVibe64Sessions-LIZjeLbd.js → useArchivedVibe64Sessions-C3jJk531.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-C3jJk531.js.br +0 -0
- package/dist/assets/useArchivedVibe64Sessions-C3jJk531.js.gz +0 -0
- package/dist/assets/{vibe64AttachmentDownload-1_XfvfYp.js → vibe64AttachmentDownload-DcLsJc9X.js} +1 -1
- package/dist/assets/{vibe64SavedEnvValues-Bs7r4xWE.js → vibe64SavedEnvValues-hAfcxHhJ.js} +1 -1
- package/dist/assets/{vue-flow-core-iwGljzru.js → vue-flow-core-BwhpINSc.js} +1 -1
- package/dist/assets/vue-flow-core-BwhpINSc.js.br +0 -0
- package/dist/assets/vue-flow-core-BwhpINSc.js.gz +0 -0
- package/dist/index.html +2 -2
- package/docs/colleague-usage/ai-accounts.md +4 -4
- package/docs/colleague-usage/ai-tasks.md +3 -2
- package/docs/colleague-usage/auto-workflow.md +99 -43
- package/docs/colleague-usage/chat-settings.md +46 -44
- package/docs/colleague-usage/coding-agents.md +8 -5
- package/docs/colleague-usage/connected-projects.md +196 -48
- package/docs/colleague-usage/connected-repositories.md +50 -6
- package/docs/colleague-usage/development-env.md +2 -2
- package/docs/colleague-usage/github-work.md +3 -3
- package/docs/colleague-usage/main-chat-approvals.md +2 -2
- package/docs/colleague-usage/passes.md +177 -156
- package/docs/colleague-usage/plans.md +121 -38
- package/docs/colleague-usage/preview-starting-application.md +6 -0
- package/docs/colleague-usage/preview-stop-and-restart.md +51 -0
- package/docs/colleague-usage/preview.md +10 -37
- package/docs/colleague-usage/ui-pass.md +32 -22
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- 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/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +5 -0
- package/node_modules/@jskit-ai/payments-core/README.md +72 -8
- package/node_modules/@jskit-ai/payments-core/contracts/configuration.schema.json +56 -1
- package/node_modules/@jskit-ai/payments-core/contracts/conformance.json +484 -0
- package/node_modules/@jskit-ai/payments-core/locales/en.json +17 -5
- package/node_modules/@jskit-ai/payments-core/package.json +2 -1
- package/node_modules/@local/vibe64-execution/package.json +1 -0
- package/node_modules/@local/vibe64-genesis/README.md +12 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +96 -96
- package/node_modules/@local/vibe64-genesis/package.json +2 -1
- package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +182 -174
- package/node_modules/@local/vibe64-genesis/src/server/index.js +573 -569
- package/node_modules/@local/vibe64-project/package.json +1 -0
- package/node_modules/@local/vibe64-terminals/package.json +1 -0
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +900 -890
- package/node_modules/chokidar/LICENSE +21 -0
- package/node_modules/chokidar/README.md +305 -0
- package/node_modules/chokidar/package.json +14 -0
- package/node_modules/readdirp/LICENSE +21 -0
- package/node_modules/readdirp/README.md +122 -0
- package/node_modules/readdirp/package.json +9 -0
- package/package.json +11 -7
- package/server.bundle.mjs +46995 -45449
- package/dist/assets/GithubBrowserTabs-B2r19V0U.js.br +0 -0
- package/dist/assets/GithubBrowserTabs-B2r19V0U.js.gz +0 -0
- package/dist/assets/LocalDatabaseServer-Ck9nZrGW.js.br +0 -0
- package/dist/assets/LocalDatabaseServer-Ck9nZrGW.js.gz +0 -0
- package/dist/assets/Vibe64DashboardPageHeader-C4iTKeE0.js.br +0 -0
- package/dist/assets/Vibe64DashboardPageHeader-C4iTKeE0.js.gz +0 -0
- package/dist/assets/Vibe64DatabaseWorkspace-ChA-2QPU.js.br +0 -0
- package/dist/assets/Vibe64FileArea-DBEJsJSq.js.br +0 -0
- package/dist/assets/Vibe64FileArea-DBEJsJSq.js.gz +0 -0
- package/dist/assets/Vibe64OutputControls-DpFdKIO2.js +0 -8
- package/dist/assets/Vibe64OutputControls-DpFdKIO2.js.br +0 -0
- package/dist/assets/Vibe64OutputControls-DpFdKIO2.js.gz +0 -0
- package/dist/assets/Vibe64OutputControls-aQCEvUL2.css.br +0 -0
- package/dist/assets/Vibe64OutputControls-aQCEvUL2.css.gz +0 -0
- package/dist/assets/Vibe64RepositoryWorkspace-sT07hHPs.js.br +0 -0
- package/dist/assets/Vibe64RepositoryWorkspace-sT07hHPs.js.gz +0 -0
- package/dist/assets/Vibe64SessionFiles-Djef01EV.js.br +0 -0
- package/dist/assets/Vibe64SessionFiles-Djef01EV.js.gz +0 -0
- package/dist/assets/Vibe64SessionSourceEditor-CIGBLYYN.js.br +0 -0
- package/dist/assets/Vibe64SessionSourceEditor-CIGBLYYN.js.gz +0 -0
- package/dist/assets/Vibe64UiStoryboardView-CjkWoB8b.js.br +0 -0
- package/dist/assets/Vibe64UiStoryboardView-CjkWoB8b.js.gz +0 -0
- package/dist/assets/_sessionId_-C7Jh2bL4.js.br +0 -0
- package/dist/assets/_sessionId_-C7Jh2bL4.js.gz +0 -0
- package/dist/assets/access-DIaPNdxr.js.br +0 -0
- package/dist/assets/access-DIaPNdxr.js.gz +0 -0
- package/dist/assets/app-mELSmS67.js.br +0 -0
- package/dist/assets/app-mELSmS67.js.gz +0 -0
- package/dist/assets/client-CL02nP02.js.br +0 -0
- package/dist/assets/client-CL02nP02.js.gz +0 -0
- package/dist/assets/client-CLpGzGwX.js.br +0 -0
- package/dist/assets/client-CLpGzGwX.js.gz +0 -0
- package/dist/assets/english-definitions-CMICWgdF.js.br +0 -0
- package/dist/assets/english-definitions-CMICWgdF.js.gz +0 -0
- package/dist/assets/env-DjkxkxdX.js.br +0 -0
- package/dist/assets/env-DjkxkxdX.js.gz +0 -0
- package/dist/assets/error-C7q1-2bC.js.br +0 -0
- package/dist/assets/error-C7q1-2bC.js.gz +0 -0
- package/dist/assets/fileTypes-Dbn0qwKS.js.br +0 -0
- package/dist/assets/fileTypes-Dbn0qwKS.js.gz +0 -0
- package/dist/assets/health-BwJ6Z251.js.br +0 -0
- package/dist/assets/health-BwJ6Z251.js.gz +0 -0
- package/dist/assets/history-D2TywQVv.js.br +0 -0
- package/dist/assets/history-D2TywQVv.js.gz +0 -0
- package/dist/assets/index-D14nUmm7.js.br +0 -0
- package/dist/assets/index-D14nUmm7.js.gz +0 -0
- package/dist/assets/integrations-BZFXW2Cp.js.br +0 -0
- package/dist/assets/integrations-BZFXW2Cp.js.gz +0 -0
- package/dist/assets/issues-CLvbBTek.js.br +0 -0
- package/dist/assets/issues-CLvbBTek.js.gz +0 -0
- package/dist/assets/packages-BeiF8W7l.js.br +0 -0
- package/dist/assets/packages-BeiF8W7l.js.gz +0 -0
- package/dist/assets/pages-BnAyUdL4.js.br +0 -3
- package/dist/assets/pages-BnAyUdL4.js.gz +0 -0
- package/dist/assets/project-GnljGud1.js.br +0 -0
- package/dist/assets/project-GnljGud1.js.gz +0 -0
- package/dist/assets/project-W_VltXAt.css +0 -1
- package/dist/assets/project-W_VltXAt.css.br +0 -0
- package/dist/assets/project-W_VltXAt.css.gz +0 -0
- package/dist/assets/project-files-e4-Q65vT.js.br +0 -0
- package/dist/assets/project-files-e4-Q65vT.js.gz +0 -0
- package/dist/assets/project-shared-ShellOutlet-DKYDipmC.js.br +0 -0
- package/dist/assets/project-shared-ShellOutlet-DKYDipmC.js.gz +0 -0
- package/dist/assets/project-shared-VBottomSheet-BSE28ENQ.js.br +0 -0
- package/dist/assets/project-shared-VBottomSheet-BSE28ENQ.js.gz +0 -0
- package/dist/assets/project-shared-VToolbar-CrezJP9z.js.br +0 -0
- package/dist/assets/project-shared-VToolbar-CrezJP9z.js.gz +0 -0
- package/dist/assets/project-shared-pageNames-6Jz0BfbS.js.br +0 -0
- package/dist/assets/project-shared-pageNames-6Jz0BfbS.js.gz +0 -0
- package/dist/assets/pull-requests-DH9gWw10.js.br +0 -0
- package/dist/assets/pull-requests-DH9gWw10.js.gz +0 -0
- package/dist/assets/session-Ck9aH4Yl.js.br +0 -0
- package/dist/assets/session-Ck9aH4Yl.js.gz +0 -0
- package/dist/assets/settings-D8Ofbk56.js.br +0 -0
- package/dist/assets/settings-D8Ofbk56.js.gz +0 -0
- package/dist/assets/useArchivedVibe64Sessions-LIZjeLbd.js.br +0 -0
- package/dist/assets/useArchivedVibe64Sessions-LIZjeLbd.js.gz +0 -0
- package/dist/assets/vue-flow-core-iwGljzru.js.br +0 -0
- package/dist/assets/vue-flow-core-iwGljzru.js.gz +0 -0
|
@@ -22,24 +22,39 @@ Senior confirms creation or updates after the plan helper has saved the result.
|
|
|
22
22
|
Both direct Senior and Junior receive the plan format and command instructions.
|
|
23
23
|
Both roles must read the full Plan, including its technical details, and Progress
|
|
24
24
|
before implementing or reviewing. Collapsing details in the viewer does not hide
|
|
25
|
-
them from the agent. Junior updates Progress and
|
|
26
|
-
as
|
|
27
|
-
|
|
25
|
+
them from the agent. Junior updates Progress and the marks of existing checklist
|
|
26
|
+
items as the work goes: a half tick once an item is built, a full tick once the
|
|
27
|
+
plan's final checks prove it (see [Checklist marks](#checklist-marks)); Senior
|
|
28
|
+
owns agreed Plan scope changes. Creating,
|
|
29
|
+
reopening, archiving and completing a plan still require Senior. In **Auto**, a
|
|
30
|
+
plan request is always Senior's: one that reached Junior is handed over without
|
|
31
|
+
Junior writing anything, the chat says **Senior is making the plan.**, and
|
|
32
|
+
Senior writes the plan from your request and the conversation without you
|
|
33
|
+
asking again (see [Auto](auto-workflow.md)). In a **Junior** chat, Junior writes
|
|
34
|
+
nothing and tells you that plans need **Senior** or **Auto**. An unsuccessful
|
|
28
35
|
save must be reported, and a chat outline alone is not a saved plan.
|
|
29
36
|
|
|
37
|
+
The plan's last section, **Passes**, lists the passes that run once Senior has
|
|
38
|
+
reviewed it, one item each, such as **Security pass: the plan's changes**. It
|
|
39
|
+
starts with the passes ticked under **After a plan** in [Passes](passes.md);
|
|
40
|
+
ask Senior to change it, or start a pass from the Passes list to add one.
|
|
41
|
+
|
|
30
42
|
## Read the current plan
|
|
31
43
|
|
|
32
44
|
1. Select the document icon beside the usage percentage inside the chat composer.
|
|
33
45
|
It is highlighted in muted yellow while the current plan is active. Its label
|
|
34
46
|
is **View active plan** or **View plan and history**.
|
|
35
47
|
2. Select **Current plan**. The selected tab has a coloured underline.
|
|
36
|
-
3. Read the **Active** or **Completed** status and
|
|
48
|
+
3. Read the **Active** or **Completed** status and the plan's progress, such as
|
|
49
|
+
**6 built · 2 proven of 9 requirements**: built counts every item that is
|
|
50
|
+
built or proven, proven only the proven ones. Select
|
|
37
51
|
**Plan** for the stable summary, checklist and implementation instructions or **Progress** for work, evidence and
|
|
38
52
|
blockers. Both tabs belong to the same current or archived artifact.
|
|
39
53
|
4. Select **Technical details** below the summary and checklist to expand the
|
|
40
54
|
implementation instructions. Select it again to collapse them. These details
|
|
41
55
|
start collapsed when opening a different document or plan; a Progress update
|
|
42
|
-
does not collapse the same Plan you are reading.
|
|
56
|
+
does not collapse the same Plan you are reading. A **Passes** section after
|
|
57
|
+
them stays shown.
|
|
43
58
|
|
|
44
59
|
New plans use a **Technical details** heading to identify that section. Older
|
|
45
60
|
plans without that heading remain fully visible; opening a plan never rewrites
|
|
@@ -51,46 +66,112 @@ The icon remains available after completion and when only archived plans remain.
|
|
|
51
66
|
When there is no current plan, the icon opens **History** directly.
|
|
52
67
|
There is no icon when the session has neither a current plan nor history.
|
|
53
68
|
|
|
54
|
-
Checklist
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
### Checklist marks
|
|
70
|
+
|
|
71
|
+
Each checklist item shows one of three boxes, so you can watch the plan fill in
|
|
72
|
+
as items get built instead of waiting for the final checks:
|
|
73
|
+
|
|
74
|
+
| Box | In the plan text | Meaning | When the AI sets it |
|
|
75
|
+
|---|---|---|---|
|
|
76
|
+
| Empty (**Not done yet**) | `- [ ]` | Not done yet | — |
|
|
77
|
+
| A dash in a filled box, the indeterminate checkbox (**Built, not yet proven**) | `- [~]` | Built: implemented, and its own focused checks pass | As soon as that item is implemented |
|
|
78
|
+
| Ticked (**Proven**) | `- [x]` | Proven by the plan's final checks | When the whole run, the review or the proof the plan states covers it |
|
|
79
|
+
|
|
80
|
+
A screen reader reads each box's label, shown in bold above.
|
|
81
|
+
|
|
82
|
+
Checklist wording stays stable while the marks update during development. The AI
|
|
83
|
+
never leaves a built item empty, and a partly done item stays empty. Review moves
|
|
84
|
+
an item back to built or to not done yet when its evidence is missing or it
|
|
85
|
+
regressed. Junior records supporting evidence and blockers in Progress. Senior
|
|
86
|
+
checks the marks against that evidence and explicitly completes the artifact only
|
|
87
|
+
after verifying every agreed acceptance requirement. Vibe64 refuses to complete
|
|
88
|
+
a plan while any item is not done yet or only built, and the refusal names each
|
|
89
|
+
such item and its mark, so Senior proves it or leaves the plan active with the gap in
|
|
90
|
+
Progress. A finished turn or a fully ticked checklist alone does not complete a
|
|
91
|
+
plan. Updates appear while the viewer is open.
|
|
92
|
+
|
|
93
|
+
## A plan's steps
|
|
94
|
+
|
|
95
|
+
A plan goes through four steps: **Implementation**, **Senior review**,
|
|
96
|
+
**Passes** and **Completed**. Once you approve it (**Implement plan**, or by
|
|
97
|
+
asking in chat), it runs to the end on its own; only a question for you or
|
|
98
|
+
**Stop** pauses it.
|
|
99
|
+
|
|
100
|
+
- **Implementation**: the plan stays here until every item outside Passes is
|
|
101
|
+
built (`- [~]`). Junior works the items in the plan's order; it does one
|
|
102
|
+
earlier only when the plan says another depends on it, and records why in
|
|
103
|
+
Progress. It never starts the plan's final checks (the whole-project checks,
|
|
104
|
+
such as one whole run of the test suite): those belong to Senior's review.
|
|
105
|
+
Vibe64 refuses Junior's report that it has finished while an item is still
|
|
106
|
+
not done, naming the item. When the plan changes during Implementation,
|
|
107
|
+
because Junior hands an item to Senior to correct, you ask for a change, or
|
|
108
|
+
Senior corrects one, the chat says **Senior is changing the plan.
|
|
109
|
+
Implementation continues once the change is saved.**, shows **Senior changes
|
|
110
|
+
the plan.**, and once Senior has saved the change Vibe64 continues the
|
|
111
|
+
implementation in a new turn without you asking. After **Stop**, a change you
|
|
112
|
+
ask for waits for **Continue** like any other paused work.
|
|
113
|
+
- **Senior review**: Senior runs the plan's final checks once, reads and records
|
|
114
|
+
their result in Progress, verifies every item outside Passes against the code
|
|
115
|
+
as it is now, fixes what it finds within the plan, each fix proven by a test
|
|
116
|
+
that failed first, and full-ticks each item the proof covers. It ends **Done**
|
|
117
|
+
or **Needs you** (numbered questions with a recommended answer each), or hands
|
|
118
|
+
substantial rework back to Junior.
|
|
119
|
+
- **Passes**: each item in the plan's Passes section runs in its own Senior
|
|
120
|
+
turn, in order; see [A plan's passes](passes.md#a-plans-passes).
|
|
121
|
+
- **Completed**: once every item and every pass is ticked and no question is
|
|
122
|
+
open, Vibe64 completes the plan and archives it.
|
|
123
|
+
|
|
124
|
+
**Continue** resumes a paused plan from the plan as it now is, including after
|
|
125
|
+
items changed while it was paused.
|
|
126
|
+
|
|
127
|
+
### The plan's status line
|
|
128
|
+
|
|
129
|
+
While a plan is open, one line above the message box says where it is, read
|
|
130
|
+
from the plan itself each time it changes:
|
|
131
|
+
|
|
132
|
+
| The line says | When |
|
|
133
|
+
|---|---|
|
|
134
|
+
| **Plan: implementing item 2 of 6, Replies join their thread** | Item 2 is the first one not built yet |
|
|
135
|
+
| **Plan: Senior review** | Every item is built, not every one proven yet |
|
|
136
|
+
| **Plan: pass Security (3 of 6)** | The plan is at its third pass of six |
|
|
137
|
+
| **Plan: needs you (2 questions)** | The chat waits for your answers |
|
|
138
|
+
| **Plan: paused, Continue to resume** | Stopped, or waiting for **Continue** |
|
|
139
|
+
| **Plan: ready, Implement plan to start** | Senior made the plan; it waits for your go-ahead |
|
|
140
|
+
| **Plan: completed** | The plan is completed and not yet archived |
|
|
141
|
+
|
|
142
|
+
The line updates as items are ticked. A plan with no checklist items shows no
|
|
143
|
+
line.
|
|
61
144
|
|
|
62
145
|
## Automatic completion and archival
|
|
63
146
|
|
|
64
|
-
|
|
65
|
-
|
|
147
|
+
A plan is completed only when every item outside Passes is proven, every pass is
|
|
148
|
+
done and no question is open. A plan without passes is completed by Senior in
|
|
149
|
+
its review: in Auto, in the turn in which Senior reviews the plan Junior
|
|
66
150
|
implemented; in a Senior chat, or when Senior implemented it, in Senior's own
|
|
67
|
-
work on it. A
|
|
68
|
-
chat leaves the plan active for Senior
|
|
69
|
-
usual.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
is
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
or by typing the request in chat.
|
|
86
|
-
|
|
87
|
-
Senior can update checklist ticks and Progress while checking the plan without preventing
|
|
151
|
+
work on it. A plan with passes is completed by Vibe64 after its last pass. A
|
|
152
|
+
Junior or Custom chat leaves the plan active for Senior, and its work is saved
|
|
153
|
+
as usual. Vibe64 then moves that exact Plan and Progress pair into History.
|
|
154
|
+
Chat shows **Completed plan archived** with **View plan history**, which opens
|
|
155
|
+
this session's existing viewer. The plan icon remains available and opens
|
|
156
|
+
History when there is no current plan. With **Automatically save changes** on
|
|
157
|
+
(the default; see [Choose what happens once work is finished](chat-settings.md)),
|
|
158
|
+
Vibe64 then runs the ordinary **Save** once and notes the result in chat. When
|
|
159
|
+
a pass is stopped, needs you or can't run, the plan stays current and active at
|
|
160
|
+
that pass, and nothing is saved automatically.
|
|
161
|
+
|
|
162
|
+
Senior's review of a plan runs only when Junior implemented it in Auto and the
|
|
163
|
+
plan is still active afterwards; it is not a pass and runs no pass. Work done
|
|
164
|
+
without a plan is not reviewed, deslopped or UI-passed automatically: ask for
|
|
165
|
+
those from [Passes](passes.md) or by typing the request in chat, and they run in
|
|
166
|
+
a small plan of their own.
|
|
167
|
+
|
|
168
|
+
Senior can update checklist ticks and Progress while reviewing the plan without preventing
|
|
88
169
|
completion. The agreed plan wording must still match the checked scope, and
|
|
89
170
|
completion uses the latest saved Plan and Progress together.
|
|
90
171
|
|
|
91
172
|
A finished implementation or an agent's handoff explanation is not completion.
|
|
92
173
|
Interrupted checks, unfinished plans and unrelated requests do not archive a
|
|
93
|
-
plan. A different plan created while Senior
|
|
174
|
+
plan. A different plan created while Senior reviews one is not archived by that review.
|
|
94
175
|
If automatic archival cannot be confirmed, the notice explains the problem;
|
|
95
176
|
inspect Current plan and History before retrying Archive. Older completed plans
|
|
96
177
|
are not moved retroactively just by opening or restoring a session.
|
|
@@ -114,7 +195,8 @@ the problem. If the plan changed, refresh the viewer before trying again.
|
|
|
114
195
|
## Read an archived plan and progress
|
|
115
196
|
|
|
116
197
|
1. Select **History**. Each entry shows its title, archive date, **Completed** or
|
|
117
|
-
**Unfinished** status, and
|
|
198
|
+
**Unfinished** status, and its progress, such as **4 built · 4 proven of 4
|
|
199
|
+
requirements**. An empty list says
|
|
118
200
|
**No archived plans**.
|
|
119
201
|
2. Select an entry. **History** stays selected, and **Archived · read-only** plus
|
|
120
202
|
the archive date remain above the document while you scroll.
|
|
@@ -144,7 +226,8 @@ A loading placeholder means the selected document has not arrived yet. A load
|
|
|
144
226
|
error includes **Retry**. Do not treat a partially loaded plan as the whole record.
|
|
145
227
|
|
|
146
228
|
Colleague can explain these steps and, when its plan-reading action is available
|
|
147
|
-
for the session, offer to read the plan or summarize the recorded work and blockers from both documents
|
|
229
|
+
for the session, offer to read the plan or summarize the recorded work and blockers from both documents, including
|
|
230
|
+
how many requirements are built and how many proven. It can
|
|
148
231
|
read an archive by its history identity without starting a coding turn. It must
|
|
149
232
|
finish all pages of both documents before claiming to have reviewed the complete artifact.
|
|
150
233
|
You can also ask **“Show me this session's plan”**, or name another accessible
|
|
@@ -27,6 +27,12 @@ DB_DATABASE in Env (in Dash, under Development)": open **Dash → Env**, choose
|
|
|
27
27
|
**Development**, add the value (see [Development Env](development-env.md)) and
|
|
28
28
|
press **Check again**.
|
|
29
29
|
|
|
30
|
+
A files bucket never holds Preview back. Without its settings the app keeps its
|
|
31
|
+
files in its own default storage, usually its own disk; when something else is
|
|
32
|
+
missing too, such as the database, Preview names only that. To try your own
|
|
33
|
+
bucket in development, add its settings in Development Env yourself (see
|
|
34
|
+
[Development Env](development-env.md)).
|
|
35
|
+
|
|
30
36
|
For recurring **Preview could not load an application resource** errors, enable
|
|
31
37
|
Preview diagnostics in the affected Studio browser before reproducing: add
|
|
32
38
|
`vibe64_preview_debug=1` to the page URL, or set
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Stopping and restarting Preview
|
|
2
|
+
|
|
3
|
+
This continues [Previewing a web application](preview.md). It covers **Stop
|
|
4
|
+
preview**, what Preview shows after a stop or a platform restart, and what
|
|
5
|
+
**Start preview** and **Restart preview** do while another run is starting or
|
|
6
|
+
running.
|
|
7
|
+
|
|
8
|
+
The top Preview toolbar shows **Stop preview** while the application is running.
|
|
9
|
+
Stop waits for the application's owned work and managed browser to close; it
|
|
10
|
+
does not close the coding session, chat, source checkout or shared services.
|
|
11
|
+
On managed hosts, service cleanup runs before remaining processes are terminated.
|
|
12
|
+
Wait for Stop to finish; a cleanup failure is not a successful stop.
|
|
13
|
+
Stopping Preview closes its browser process but keeps the coding assistant's
|
|
14
|
+
managed-browser registration. The same assistant can run another managed browser
|
|
15
|
+
check or test suite afterward without reopening its conversation.
|
|
16
|
+
It stays stopped after navigation, reload or reopening the session. The pane
|
|
17
|
+
then shows **Preview stopped**, and both its button and the toolbar's read
|
|
18
|
+
**Start preview**; use either to run it again deliberately.
|
|
19
|
+
|
|
20
|
+
A Preview also stops when the platform restarts, for example during an update.
|
|
21
|
+
The pane then removes the old page instead of leaving it looking alive. It shows
|
|
22
|
+
**Preview state was lost after a server restart** with **Restart preview**, or,
|
|
23
|
+
once that has been seen, **Preview is not running** with a **Start preview**
|
|
24
|
+
button in the middle of the pane. Starting it runs the session's current code.
|
|
25
|
+
A Preview tab opened before the platform restart needs opening again from the
|
|
26
|
+
editor; its old access no longer works.
|
|
27
|
+
If Stop reports incomplete cleanup, retry Stop before starting. Browser tests
|
|
28
|
+
may temporarily run an isolated target, then restore the prior stopped choice.
|
|
29
|
+
Managed suites without `--target` also restore the previous running or stopped
|
|
30
|
+
Preview state, including after an assertion failure or cancellation. An explicitly
|
|
31
|
+
supplied external `PLAYWRIGHT_BASE_URL` does not start or stop managed Preview.
|
|
32
|
+
The selected target and its parameter values remain saved while stopped, including
|
|
33
|
+
after browser tests or an editor restart, for the next explicit Start.
|
|
34
|
+
If Preview reports an invalid saved stop state, use the explicit Stop action
|
|
35
|
+
before retrying Start; automatic recovery does not overwrite that state.
|
|
36
|
+
Colleague can offer the existing authorized stop/start actions, but a how-to
|
|
37
|
+
question alone does not authorize either action.
|
|
38
|
+
Retrying the same output reuses its running application when its settings and
|
|
39
|
+
environment still match. It does not start another process merely because a
|
|
40
|
+
new Preview address could be allocated. Use **Restart preview** when you intend
|
|
41
|
+
to replace that run.
|
|
42
|
+
When the coding agent starts the Preview, open tabs update to show it starting.
|
|
43
|
+
If a tab still shows an older state, such as **Preview stopped** while the
|
|
44
|
+
agent's start is booting the app, pressing **Start preview** or **Restart
|
|
45
|
+
preview** there shows the run that is starting or running instead of replacing
|
|
46
|
+
it; the tab's own automatic start and recovery do the same. Press **Restart
|
|
47
|
+
preview** again on that run to restart it.
|
|
48
|
+
Stopping or restarting a Preview includes processes in its child groups,
|
|
49
|
+
that are owned by that output. Wait for cleanup to finish before starting
|
|
50
|
+
another run. If cleanup fails, open **Resources** for the reported operation
|
|
51
|
+
and retry only after its running work has been stopped.
|
|
@@ -81,6 +81,13 @@ together. Later checks reread changes to those declarations. Invalid resource
|
|
|
81
81
|
estimates retain their diagnostic and generic fallback; they do not by themselves
|
|
82
82
|
make an otherwise valid output unavailable.
|
|
83
83
|
|
|
84
|
+
A resource the app needs and doesn't have yet, such as its database or Redis,
|
|
85
|
+
keeps Preview from starting: Preview names the values to set in **Dash → Env**
|
|
86
|
+
under **Development**, or says Vibe64 is still setting the resource up, then you
|
|
87
|
+
press **Check again** (see [Choose a starting application](preview-starting-application.md)).
|
|
88
|
+
A files bucket is never one of them: without its settings the app uses its own
|
|
89
|
+
default storage, and Preview starts.
|
|
90
|
+
|
|
84
91
|
If the previewed application shows its own login screen, enter that application's
|
|
85
92
|
credentials. Its login and realtime connection run through the Preview address.
|
|
86
93
|
HTTPS previews retain the HTTPS scheme for applications that use it to set
|
|
@@ -196,43 +203,9 @@ see why.
|
|
|
196
203
|
application again. If startup fails, inspect the message and **Show run output**
|
|
197
204
|
before retrying. Hiding run output closes only the terminal view; it does not
|
|
198
205
|
stop the application.
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
On managed hosts, service cleanup runs before remaining processes are terminated.
|
|
203
|
-
Wait for Stop to finish; a cleanup failure is not a successful stop.
|
|
204
|
-
Stopping Preview closes its browser process but keeps the coding assistant's
|
|
205
|
-
managed-browser registration. The same assistant can run another managed browser
|
|
206
|
-
check or test suite afterward without reopening its conversation.
|
|
207
|
-
It stays stopped after navigation, reload or reopening the session. Use the
|
|
208
|
-
toolbar's **Start preview** or **Restart preview** deliberately to run it again.
|
|
209
|
-
|
|
210
|
-
A Preview also stops when the platform restarts, for example during an update.
|
|
211
|
-
The pane then removes the old page instead of leaving it looking alive. It shows
|
|
212
|
-
**Preview state was lost after a server restart** with **Restart preview**, or,
|
|
213
|
-
once that has been seen, **Preview is not running** with a **Start preview**
|
|
214
|
-
button in the middle of the pane. Starting it runs the session's current code.
|
|
215
|
-
A Preview tab opened before the platform restart needs opening again from the
|
|
216
|
-
editor; its old access no longer works.
|
|
217
|
-
If Stop reports incomplete cleanup, retry Stop before starting. Browser tests
|
|
218
|
-
may temporarily run an isolated target, then restore the prior stopped choice.
|
|
219
|
-
Managed suites without `--target` also restore the previous running or stopped
|
|
220
|
-
Preview state, including after an assertion failure or cancellation. An explicitly
|
|
221
|
-
supplied external `PLAYWRIGHT_BASE_URL` does not start or stop managed Preview.
|
|
222
|
-
The selected target and its parameter values remain saved while stopped, including
|
|
223
|
-
after browser tests or an editor restart, for the next explicit Start.
|
|
224
|
-
If Preview reports an invalid saved stop state, use the explicit Stop action
|
|
225
|
-
before retrying Start; automatic recovery does not overwrite that state.
|
|
226
|
-
Colleague can offer the existing authorized stop/start actions, but a how-to
|
|
227
|
-
question alone does not authorize either action.
|
|
228
|
-
Retrying the same output reuses its running application when its settings and
|
|
229
|
-
environment still match. It does not start another process merely because a
|
|
230
|
-
new Preview address could be allocated. Use **Restart preview** when you intend
|
|
231
|
-
to replace that run.
|
|
232
|
-
Stopping or restarting a Preview includes processes in its child groups,
|
|
233
|
-
that are owned by that output. Wait for cleanup to finish before starting
|
|
234
|
-
another run. If cleanup fails, open **Resources** for the reported operation
|
|
235
|
-
and retry only after its running work has been stopped.
|
|
206
|
+
To stop Preview, and for what Preview shows after a stop or a platform restart
|
|
207
|
+
and what a start does while another run is starting or running, read
|
|
208
|
+
[Stopping and restarting Preview](preview-stop-and-restart.md).
|
|
236
209
|
|
|
237
210
|
Colleague can inspect the selected output and its logs, explain required fields,
|
|
238
211
|
and start or stop it through existing authorized actions. It must inspect current
|
|
@@ -4,14 +4,16 @@ A UI pass brings the screens of your app in line with the project's UI
|
|
|
4
4
|
guidance: layout, spacing, typography, colours, controls and how screens
|
|
5
5
|
behave at narrow and wide widths. For a Material 3 project it follows that
|
|
6
6
|
guide's method and checks the screens against it. It keeps what each screen
|
|
7
|
-
does; a defect
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
does; a real defect it finds is fixed separately, proven by a test that failed
|
|
8
|
+
first, and what is outside its scope goes on the plan's **Leftovers** list.
|
|
9
|
+
Senior checks the screens it changed in the managed browser and reports what
|
|
10
|
+
changed and what it verified. It never commits, pushes or publishes.
|
|
10
11
|
|
|
11
12
|
The UI pass sits beside Deslop. Deslop cleans up code; the UI pass cleans up
|
|
12
|
-
screens.
|
|
13
|
-
under **After a plan** in
|
|
14
|
-
|
|
13
|
+
screens. In main chat each runs as an item of a plan's **Passes** section: a
|
|
14
|
+
new plan's Passes include it while it is ticked under **After a plan** in
|
|
15
|
+
[Passes](passes.md#choose-the-passes-each-new-plan-starts-with), and asking for
|
|
16
|
+
it in the chat adds it to the open plan, or to a small plan of its own.
|
|
15
17
|
|
|
16
18
|
## Ask for a UI pass in the chat
|
|
17
19
|
|
|
@@ -19,10 +21,15 @@ Type one of these as the whole message in main chat and send it:
|
|
|
19
21
|
|
|
20
22
|
| Message | What the UI pass covers |
|
|
21
23
|
| --- | --- |
|
|
22
|
-
| `UI pass` | The changes
|
|
24
|
+
| `UI pass` | The changes since your last plan (the same as `UI pass: this task's changes`). In a lesson or **Fix it with AI**, the changes the current task made. |
|
|
23
25
|
| `UI pass: the bookings pages` | That named part of the app. Name it in your own words. |
|
|
24
26
|
| `UI pass: the whole app` | Every screen of the app. |
|
|
25
27
|
|
|
28
|
+
With no plan open, the chat says **New plan for the passes you asked for:**
|
|
29
|
+
followed by the small plan's title, and the UI pass starts. With a plan open,
|
|
30
|
+
it says **Added to the plan's Passes: UI pass.**, and the pass runs when the
|
|
31
|
+
plan reaches it.
|
|
32
|
+
|
|
26
33
|
`UI pass on …` and `UI pass for …` work as well as the colon. A message that
|
|
27
34
|
only mentions the UI pass, such as “What does the UI pass change?”, is ordinary
|
|
28
35
|
chat and starts nothing.
|
|
@@ -33,8 +40,9 @@ the UI pass last completed, judged against the whole app; only those runs are
|
|
|
33
40
|
recorded as the UI pass completing. See [Run a pass on your app](passes.md).
|
|
34
41
|
|
|
35
42
|
The UI pass runs in its own turn on your **Senior** model, whatever the chat
|
|
36
|
-
mode, the way “Deslop” does; in **Custom** it uses the Custom model. It
|
|
37
|
-
|
|
43
|
+
mode, the way “Deslop” does; in **Custom** it uses the Custom model. It ends
|
|
44
|
+
**Done**, ticking its item in the plan's Passes, or **Needs you**, with numbered
|
|
45
|
+
questions; your reply goes straight back to it.
|
|
38
46
|
|
|
39
47
|
It cannot start while:
|
|
40
48
|
|
|
@@ -49,22 +57,24 @@ so you can send it again once the chat is free. If your Senior model is
|
|
|
49
57
|
unavailable, or cannot use coding tools, the UI pass is refused with that
|
|
50
58
|
reason instead of running on Junior; choose a Senior model in **Models**.
|
|
51
59
|
|
|
52
|
-
## Run it
|
|
60
|
+
## Run it as part of each new plan
|
|
53
61
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
the
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
While its **After a plan** tick in
|
|
63
|
+
[Passes](passes.md#choose-the-passes-each-new-plan-starts-with) is ticked, as it
|
|
64
|
+
is for new chats, each new plan's Passes section includes **UI pass: the plan's
|
|
65
|
+
changes**. Once Senior has reviewed the plan, it runs in its own turn on your
|
|
66
|
+
**Senior** model, after the passes before it in the plan and before Deslop,
|
|
67
|
+
over the changes since the plan's work started, and the chat notes **UI pass
|
|
68
|
+
started: the plan's next pass (UI pass: the plan's changes)** as it starts. It
|
|
69
|
+
never runs on its own after a request without a plan, when a turn ends or when
|
|
70
|
+
you **Save**: type **UI pass** for that work instead. To leave it out of one
|
|
71
|
+
plan, ask Senior to remove it from that plan's Passes.
|
|
62
72
|
|
|
63
73
|
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
|
|
74
|
+
until you tick it, and its change applies to plans made later. It is the
|
|
65
75
|
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
|
|
67
|
-
|
|
76
|
+
unavailable while a goal is active. Temporary chats and AI tasks have no plans;
|
|
77
|
+
ask for a UI pass there and it runs as its own turn.
|
|
68
78
|
|
|
69
79
|
## Ask Colleague
|
|
70
80
|
|
|
@@ -80,7 +90,7 @@ Colleague can explain the UI pass and its scopes. It can also:
|
|
|
80
90
|
A question or an offer starts nothing; Colleague acts only on your direct
|
|
81
91
|
request or an offer you accept.
|
|
82
92
|
|
|
83
|
-
See [Run a pass on your app](passes.md) for
|
|
93
|
+
See [Run a pass on your app](passes.md) for a plan's passes, [Choose
|
|
84
94
|
what happens once work is finished](chat-settings.md) for automatic save,
|
|
85
95
|
[Choose Auto roles and follow the workflow](auto-workflow.md) for Auto, and
|
|
86
96
|
[Goals and model changes](coding-agent-goals.md) for goals.
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Prepaid top-ups. `extensions.payments.topUps` (`name`, `currency`, `minimumAmount`, `maximumAmount`, amounts in the currency's smallest unit, Stripe's floor of 50) sells one-off Stripe Checkout payments of an amount the person chooses; `plans` may be empty only beside it. A Paddle connection with top-ups fails validation at its `integrationId` (`payments.configuration.paddleTopUps`), and an inverted range at `topUps/maximumAmount` (`payments.configuration.topUpRange`). `createPaymentCheckoutService` takes `topUps: { offer, credit }` and gains `topUp({actor, subjectId, amount, requestId, email?, description?})` and `confirmTopUp({actor, subjectId, topUpId})`, both authorized as action `topUp`; its `webhook` settles the four `checkout.session.*` top-up events. The verified webhook and the return page's confirmation (which reads the session from Stripe with the server's key) settle through one path: under the top-up's row lock, only the move to paid calls the application's `credit({reference, subjectId, amount, currency}, options)` inside the same transaction, so a top-up is credited once whichever door reports it first. The subject comes from the top-up written down at checkout, never from the event. New table `payment_top_ups` (migration `payments_core_top_ups.cjs`, in the payment tables' collation on MySQL and MariaDB); the store gains `createTopUp`, `inspectTopUp` and `withTopUp`. `TOP_UP_RETURN_PARAMETER` (`"paymentTopUp"`) is exported from `@jskit-ai/payments-core/shared/topUps`.
|
|
6
|
+
- **Breaking:** `createStripePaymentAdapter` requires `appEnv` (`appEnvironment(env)`) and refuses a live key (`sk_live_`, `rk_live_`) unless it is `production`, with `payment_live_key_refused` (409); test keys work everywhere. It takes `apiBaseUrl`, a stand-in for Stripe's API, in development and tests only (`payment_stand_in_refused`, 409, elsewhere).
|
|
7
|
+
- `PaymentError` takes `cause` in its options; a provider failure while starting or confirming a top-up is `payment_provider_unavailable` (502) with the provider's error as its cause.
|
|
8
|
+
- New messages: `jskit.errors.payment_live_key_refused`, `payment_stand_in_refused`, `payment_top_ups_unavailable`, `payment_top_up_amount_invalid`, `payment_top_up_missing`, `payment_provider_unavailable`; `jskit.payments.input.topUpDescription`, `jskit.payments.reference.otherAmount`, `jskit.payments.provider.topUpSession`, `jskit.payments.provider.topUpAmount`, `jskit.payments.configuration.paddleTopUps`, `jskit.payments.configuration.topUpRange`.
|
|
9
|
+
|
|
5
10
|
- The `webhook` and `deployment` readiness checks' text names the release in use ("Verify the release in use runs with this configuration and environment."), where it said the deployed webhook and the intended release; the check ids are unchanged.
|
|
6
11
|
- **Breaking:** `createPaymentCheckoutService` takes `appEnv` (the application's `APP_ENV`, `appEnvironment(env)`) in place of `sideEffects`, and requires it. Only production takes real payments: checkout and the billing portal in the live payment environment are refused elsewhere with `payment_sandbox_only` (409, "Only production takes real payments: use the sandbox payment environment."), which replaces `payment_test_copy`, before any provider write. The sandbox environment works everywhere.
|
|
7
12
|
- A test copy takes no real money: `createPaymentCheckoutService` takes `sideEffects` (default `simulate`), and unless it is `live`, checkout and the billing portal in the live payment environment are refused with `payment_test_copy` (409) before any provider write. The sandbox environment works either way.
|
|
@@ -6,9 +6,11 @@ is required to run them. PHP applications implement the same documented
|
|
|
6
6
|
contract using their own framework; they do not install this runtime.
|
|
7
7
|
|
|
8
8
|
Current implementation: a strict payment declaration, transactional Knex
|
|
9
|
-
storage, subscription feature checks, usage credits,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
storage, subscription feature checks, usage credits, prepaid top-ups (one-off
|
|
10
|
+
Stripe Checkout payments credited once to the application's own balance),
|
|
11
|
+
official-SDK Stripe and Paddle webhook verification, subscription
|
|
12
|
+
reconciliation, checkout and customer portal adapters, and an explicitly
|
|
13
|
+
authorized checkout composition service.
|
|
12
14
|
Reviewed catalogue publication preserves environment-bound product/price IDs and
|
|
13
15
|
records ambiguous provider writes for recovery. Editor execution wiring and
|
|
14
16
|
automatic merchant onboarding remain separate unfinished work.
|
|
@@ -24,6 +26,9 @@ they are not an editor configuration database.
|
|
|
24
26
|
Public API imports:
|
|
25
27
|
|
|
26
28
|
- `@jskit-ai/payments-core/shared`: `validatePaymentConfiguration(document)`.
|
|
29
|
+
- `@jskit-ai/payments-core/shared/topUps`: `TOP_UP_RETURN_PARAMETER`
|
|
30
|
+
(`"paymentTopUp"`), the return URL's query parameter naming the top-up a
|
|
31
|
+
person comes back from.
|
|
27
32
|
- `@jskit-ai/payments-core/server/storage`: `PaymentStoreFeature`, the payment
|
|
28
33
|
tables' one owner: registered in the server providers, it owns them through
|
|
29
34
|
`runtime.resources` and provides the payment store as `payments.store`. A
|
|
@@ -38,8 +43,8 @@ The app authorizes billing identities and mounts its own routes. A billable
|
|
|
38
43
|
subject may be a user or an organization. Never derive that subject from an
|
|
39
44
|
untrusted customer ID or webhook metadata. The checkout service requires an
|
|
40
45
|
`authorize(actor, { subjectId, action })` function that returns exactly `true`.
|
|
41
|
-
The app must distinguish `account`, `history`, `checkout`, `portal`
|
|
42
|
-
administrator-only `reconcile`. `history` reads customer-scoped subscriptions
|
|
46
|
+
The app must distinguish `account`, `history`, `checkout`, `portal`, `topUp`
|
|
47
|
+
and administrator-only `reconcile`. `history` reads customer-scoped subscriptions
|
|
43
48
|
and invoice/transaction pages with no provider writes; its contract and CLI
|
|
44
49
|
composition are in [standalone setup](docs/standalone.md#provider-billing-history-from-an-app-or-cli).
|
|
45
50
|
Core grant/debit/reconciliation methods are trusted server APIs, not public
|
|
@@ -67,8 +72,15 @@ For concrete file loading, Env resolution and provider composition, see
|
|
|
67
72
|
Create one Stripe or Paddle adapter using `apiKey`, `webhookSecret`,
|
|
68
73
|
`environment`, `providerAccountId` (Stripe), `taxCategory` (Paddle), and `priceBindings`. Account
|
|
69
74
|
identity in this configuration is not a claim of provider verification.
|
|
75
|
+
The Stripe adapter also takes `appEnv` (`appEnvironment(env)`), and refuses
|
|
76
|
+
a live key (`sk_live_`, `rk_live_`) unless it is `production`
|
|
77
|
+
(`payment_live_key_refused`); test keys work everywhere. Development and
|
|
78
|
+
tests may point it at a stand-in for Stripe's API with `apiBaseUrl` (an
|
|
79
|
+
origin such as `http://127.0.0.1:12111`), which other environments refuse.
|
|
70
80
|
5. Create the checkout service with `adapter`, `store`, `payments`,
|
|
71
|
-
`merchantScope`, `returnUrl`, and the app's `authorize` function
|
|
81
|
+
`merchantScope`, `returnUrl`, `appEnv` and the app's `authorize` function,
|
|
82
|
+
plus `topUps: { offer: configuration.topUps, credit }` when it sells top-ups
|
|
83
|
+
([Prepaid top-ups](#prepaid-top-ups)).
|
|
72
84
|
6. Authenticated app routes call `checkout({actor, subjectId, email, planId,
|
|
73
85
|
requestId})` or `portal({actor, subjectId})`. Keep the returned checkout
|
|
74
86
|
request ID stable on transport retries; begin a new request for an expired
|
|
@@ -91,6 +103,51 @@ Checkout and a return page. Both providers' customer portals remain provider
|
|
|
91
103
|
hosted. Provider account registration and Paddle domain approval are separate
|
|
92
104
|
setup tasks; a successful API request does not prove approval.
|
|
93
105
|
|
|
106
|
+
## Prepaid top-ups
|
|
107
|
+
|
|
108
|
+
A configuration with `topUps` (see [the contract](docs/contract.md#prepaid-top-ups))
|
|
109
|
+
sells one-off Stripe Checkout payments of an amount the person chooses within
|
|
110
|
+
its limits, credited once to the application's own balance:
|
|
111
|
+
|
|
112
|
+
```js
|
|
113
|
+
const checkout = createPaymentCheckoutService({
|
|
114
|
+
adapter, store, payments, merchantScope, returnUrl, authorize, appEnv: appEnvironment(env),
|
|
115
|
+
topUps: {
|
|
116
|
+
offer: configuration.topUps,
|
|
117
|
+
// Inside the transaction that marks the top-up paid; write with `options` so both commit or neither does.
|
|
118
|
+
credit: ({ reference, subjectId, amount, currency }, options) => balances.add({ reference, subjectId, amount, currency }, options)
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The checkout service then has:
|
|
124
|
+
|
|
125
|
+
- `topUp({actor, subjectId, amount, requestId, email?, description?})`:
|
|
126
|
+
authorizes action `topUp`, checks the amount (an integer in the currency's
|
|
127
|
+
smallest unit, within `minimumAmount`..`maximumAmount`), writes the top-up
|
|
128
|
+
down and opens its Checkout payment. Answers
|
|
129
|
+
`{topUpId, status, amount, currency, url}`; navigate to `url` (in a framed
|
|
130
|
+
page, `@jskit-ai/payments-web`'s `openPaymentPage(url)` opens it in a new
|
|
131
|
+
tab). The same `requestId` answers the same top-up.
|
|
132
|
+
- `confirmTopUp({actor, subjectId, topUpId})`: the return page's call, with the
|
|
133
|
+
`paymentTopUp` query parameter Checkout returns with. It authorizes action
|
|
134
|
+
`topUp`, reads the session from Stripe with the server's key and settles it.
|
|
135
|
+
Answers the same shape plus `credited`, true only for the call that credited.
|
|
136
|
+
- `webhook({rawBody, signature})` settles the top-ups' Checkout events
|
|
137
|
+
(`checkout.session.completed`, `checkout.session.async_payment_succeeded`,
|
|
138
|
+
`checkout.session.async_payment_failed`, `checkout.session.expired`) through
|
|
139
|
+
the same path, before subscription events.
|
|
140
|
+
|
|
141
|
+
`credit` is called once per paid top-up with a stable `reference`
|
|
142
|
+
(`top-up:<topUpId>`), the subject the top-up was written down for, the amount
|
|
143
|
+
and the currency, and the options of the transaction that settles it. Its
|
|
144
|
+
handle calls take those options (spread under the application's own context
|
|
145
|
+
where it needs one) and join that transaction. It runs again only after its
|
|
146
|
+
transaction rolled back, so it writes nothing outside it; a balance kept
|
|
147
|
+
elsewhere must be idempotent on the reference. Composing top-ups with a Paddle
|
|
148
|
+
adapter, or without `offer` or `credit`, throws a TypeError naming the fix; a
|
|
149
|
+
service composed without them answers `topUp` with `payment_top_ups_unavailable`.
|
|
150
|
+
|
|
94
151
|
## Failures and evidence
|
|
95
152
|
|
|
96
153
|
Checkout writes an intent before contacting the provider. A crash or ambiguous
|
|
@@ -112,7 +169,12 @@ features or allowances.
|
|
|
112
169
|
Focused fixture evidence currently covers raw signatures with both official
|
|
113
170
|
SDKs, storage rollback, duplicate grants/renewals, subject/environment isolation,
|
|
114
171
|
concurrent debit requests, expired refunds, checkout authorization, uncertain
|
|
115
|
-
writes and explicit recovery.
|
|
172
|
+
writes and explicit recovery. Top-ups are tested through the real Stripe SDK
|
|
173
|
+
against a stand-in for Stripe's API (`test/support/fakeStripe.js`): checkout
|
|
174
|
+
creation and authorization, limits, each webhook outcome, the return page's
|
|
175
|
+
confirmation, foreign and tampered sessions, a failing credit, and live-key and
|
|
176
|
+
stand-in refusals; `test/topUps.mysql.test.js` races the webhook and the return
|
|
177
|
+
page over one payment on MariaDB and sees it credited once. SQLite fixtures do not establish PostgreSQL/MySQL
|
|
116
178
|
multi-process locking behavior. Live provider accounts and full generated-app
|
|
117
179
|
acceptance have not been exercised.
|
|
118
180
|
|
|
@@ -133,7 +195,9 @@ existing subscribers; publication does not cancel their subscriptions.
|
|
|
133
195
|
|
|
134
196
|
Configure Stripe deliveries for `invoice.paid`, `invoice.payment_failed`,
|
|
135
197
|
`invoice.payment_action_required`, and the `customer.subscription.*` lifecycle
|
|
136
|
-
used by the application
|
|
198
|
+
used by the application, and, for top-ups, `checkout.session.completed`,
|
|
199
|
+
`checkout.session.async_payment_succeeded`,
|
|
200
|
+
`checkout.session.async_payment_failed` and `checkout.session.expired`. Configure Paddle for `transaction.completed` and
|
|
137
201
|
`subscription.*` lifecycle deliveries. The provider adapter selects relevant
|
|
138
202
|
subscription events only after signature verification; signed standalone
|
|
139
203
|
invoices/transactions are ignored before application customer lookup.
|