copilotkit 4.9.50 → 4.10.0

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.
Files changed (74) hide show
  1. package/README.md +44 -4
  2. package/cli-build-info.json +7 -7
  3. package/index.js +1810 -354
  4. package/onboarding/index.json +81 -18
  5. package/onboarding/prompts/authenticate/start.md +56 -190
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +25 -98
  8. package/onboarding/prompts/credentials/plan.md +20 -20
  9. package/onboarding/prompts/credentials/settle-credentials.md +153 -0
  10. package/onboarding/prompts/credentials/write-plan.md +93 -0
  11. package/onboarding/prompts/fallback/best-effort.md +12 -9
  12. package/onboarding/prompts/feature/a2ui/implement.md +35 -6
  13. package/onboarding/prompts/feature/a2ui/proof.md +30 -6
  14. package/onboarding/prompts/feature/a2ui/start.md +29 -6
  15. package/onboarding/prompts/feature/chat-suggestions/implement.md +36 -6
  16. package/onboarding/prompts/feature/chat-suggestions/proof.md +30 -5
  17. package/onboarding/prompts/feature/chat-suggestions/start.md +29 -6
  18. package/onboarding/prompts/feature/complete.md +11 -0
  19. package/onboarding/prompts/feature/learning/implement.md +102 -11
  20. package/onboarding/prompts/feature/learning/proof.md +53 -9
  21. package/onboarding/prompts/feature/learning/start.md +35 -8
  22. package/onboarding/prompts/feature/open-generative-ui/implement.md +37 -6
  23. package/onboarding/prompts/feature/open-generative-ui/proof.md +30 -5
  24. package/onboarding/prompts/feature/open-generative-ui/start.md +29 -6
  25. package/onboarding/prompts/feature/realtime-sync/implement.md +36 -7
  26. package/onboarding/prompts/feature/realtime-sync/proof.md +29 -5
  27. package/onboarding/prompts/feature/realtime-sync/start.md +28 -5
  28. package/onboarding/prompts/feature/rich-threads/implement.md +37 -8
  29. package/onboarding/prompts/feature/rich-threads/proof.md +31 -5
  30. package/onboarding/prompts/feature/rich-threads/start.md +28 -5
  31. package/onboarding/prompts/feature/stop.md +10 -7
  32. package/onboarding/prompts/feature/voice/implement.md +35 -6
  33. package/onboarding/prompts/feature/voice/proof.md +30 -5
  34. package/onboarding/prompts/feature/voice/start.md +29 -6
  35. package/onboarding/prompts/framework/ag2.md +2 -2
  36. package/onboarding/prompts/framework/agno.md +2 -2
  37. package/onboarding/prompts/framework/built-in.md +2 -2
  38. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  39. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  40. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  41. package/onboarding/prompts/framework/deep-agents.md +2 -2
  42. package/onboarding/prompts/framework/google-adk.md +2 -2
  43. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  44. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  45. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  46. package/onboarding/prompts/framework/llamaindex.md +2 -2
  47. package/onboarding/prompts/framework/mastra.md +2 -2
  48. package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
  49. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  50. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  51. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  52. package/onboarding/prompts/framework/strands-python.md +2 -2
  53. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  54. package/onboarding/prompts/frontend/angular.md +3 -3
  55. package/onboarding/prompts/frontend/nextjs.md +3 -3
  56. package/onboarding/prompts/frontend/plan.md +6 -6
  57. package/onboarding/prompts/frontend/react-native.md +2 -2
  58. package/onboarding/prompts/frontend/react-spa.md +2 -2
  59. package/onboarding/prompts/frontend/vue.md +2 -2
  60. package/onboarding/prompts/implementation/build-and-validate.md +122 -12
  61. package/onboarding/prompts/proof/complete.md +23 -10
  62. package/onboarding/prompts/proof/oss-baseline.md +17 -7
  63. package/onboarding/prompts/proof/round-trip.md +33 -13
  64. package/onboarding/prompts/research/gather.md +121 -0
  65. package/onboarding/prompts/research/route.md +81 -0
  66. package/onboarding/prompts/starter/clone.md +18 -9
  67. package/onboarding/prompts/stopped/run-failed.md +44 -0
  68. package/onboarding/prompts/subagent/create-plan.md +32 -1
  69. package/onboarding/prompts/subagent/implement-and-validate.md +9 -1
  70. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  71. package/onboarding/prompts/subagent/prove-round-trip.md +59 -12
  72. package/onboarding/prompts/unsupported/no-validated-path.md +10 -7
  73. package/package.json +1 -1
  74. package/release/release-tool.js +39 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "graphTree": "249d03371764b775fd5893026d7869bbf83716d6",
2
+ "graphTree": "d0d29f5f2ed37dd76f08bb7655e28da124813c2f",
3
3
  "intentRoots": {
4
4
  "add-a2ui": "feature/a2ui/start",
5
5
  "add-chat-suggestions": "feature/chat-suggestions/start",
@@ -13,10 +13,8 @@
13
13
  "prompts": [
14
14
  {
15
15
  "edges": [
16
- "subagent/inspect-repository",
17
- "proof/oss-baseline",
18
- "credentials/plan",
19
- "unsupported/no-validated-path"
16
+ "research/gather",
17
+ "stopped/run-failed"
20
18
  ],
21
19
  "milestone": "authenticate",
22
20
  "name": "authenticate/start"
@@ -31,9 +29,7 @@
31
29
  },
32
30
  {
33
31
  "edges": [
34
- "subagent/create-plan",
35
- "implementation/build-and-validate",
36
- "unsupported/no-validated-path"
32
+ "credentials/settle-credentials"
37
33
  ],
38
34
  "milestone": "credentials",
39
35
  "name": "credentials/finalize-plan"
@@ -64,6 +60,23 @@
64
60
  "milestone": "credentials",
65
61
  "name": "credentials/plan"
66
62
  },
63
+ {
64
+ "edges": [
65
+ "credentials/write-plan"
66
+ ],
67
+ "milestone": "credentials",
68
+ "name": "credentials/settle-credentials"
69
+ },
70
+ {
71
+ "edges": [
72
+ "subagent/create-plan",
73
+ "stopped/run-failed",
74
+ "implementation/build-and-validate",
75
+ "unsupported/no-validated-path"
76
+ ],
77
+ "milestone": "credentials",
78
+ "name": "credentials/write-plan"
79
+ },
67
80
  {
68
81
  "edges": [],
69
82
  "milestone": "fallback",
@@ -78,7 +91,10 @@
78
91
  "name": "feature/a2ui/implement"
79
92
  },
80
93
  {
81
- "edges": [],
94
+ "edges": [
95
+ "feature/stop",
96
+ "feature/complete"
97
+ ],
82
98
  "milestone": "feature",
83
99
  "name": "feature/a2ui/proof"
84
100
  },
@@ -99,7 +115,10 @@
99
115
  "name": "feature/chat-suggestions/implement"
100
116
  },
101
117
  {
102
- "edges": [],
118
+ "edges": [
119
+ "feature/stop",
120
+ "feature/complete"
121
+ ],
103
122
  "milestone": "feature",
104
123
  "name": "feature/chat-suggestions/proof"
105
124
  },
@@ -111,6 +130,11 @@
111
130
  "milestone": "feature",
112
131
  "name": "feature/chat-suggestions/start"
113
132
  },
133
+ {
134
+ "edges": [],
135
+ "milestone": "feature",
136
+ "name": "feature/complete"
137
+ },
114
138
  {
115
139
  "edges": [
116
140
  "feature/stop",
@@ -120,7 +144,10 @@
120
144
  "name": "feature/learning/implement"
121
145
  },
122
146
  {
123
- "edges": [],
147
+ "edges": [
148
+ "feature/stop",
149
+ "feature/complete"
150
+ ],
124
151
  "milestone": "feature",
125
152
  "name": "feature/learning/proof"
126
153
  },
@@ -141,7 +168,10 @@
141
168
  "name": "feature/open-generative-ui/implement"
142
169
  },
143
170
  {
144
- "edges": [],
171
+ "edges": [
172
+ "feature/stop",
173
+ "feature/complete"
174
+ ],
145
175
  "milestone": "feature",
146
176
  "name": "feature/open-generative-ui/proof"
147
177
  },
@@ -162,7 +192,10 @@
162
192
  "name": "feature/realtime-sync/implement"
163
193
  },
164
194
  {
165
- "edges": [],
195
+ "edges": [
196
+ "feature/stop",
197
+ "feature/complete"
198
+ ],
166
199
  "milestone": "feature",
167
200
  "name": "feature/realtime-sync/proof"
168
201
  },
@@ -183,7 +216,10 @@
183
216
  "name": "feature/rich-threads/implement"
184
217
  },
185
218
  {
186
- "edges": [],
219
+ "edges": [
220
+ "feature/stop",
221
+ "feature/complete"
222
+ ],
187
223
  "milestone": "feature",
188
224
  "name": "feature/rich-threads/proof"
189
225
  },
@@ -209,7 +245,10 @@
209
245
  "name": "feature/voice/implement"
210
246
  },
211
247
  {
212
- "edges": [],
248
+ "edges": [
249
+ "feature/stop",
250
+ "feature/complete"
251
+ ],
213
252
  "milestone": "feature",
214
253
  "name": "feature/voice/proof"
215
254
  },
@@ -431,6 +470,7 @@
431
470
  "edges": [
432
471
  "subagent/implement-and-validate",
433
472
  "proof/round-trip",
473
+ "stopped/run-failed",
434
474
  "unsupported/no-validated-path"
435
475
  ],
436
476
  "milestone": "implementation",
@@ -446,7 +486,7 @@
446
486
  "subagent/prove-oss-baseline",
447
487
  "conversion/plan",
448
488
  "credentials/plan",
449
- "unsupported/no-validated-path"
489
+ "stopped/run-failed"
450
490
  ],
451
491
  "milestone": "proof",
452
492
  "name": "proof/oss-baseline"
@@ -455,19 +495,42 @@
455
495
  "edges": [
456
496
  "subagent/prove-round-trip",
457
497
  "proof/complete",
458
- "unsupported/no-validated-path"
498
+ "stopped/run-failed"
459
499
  ],
460
500
  "milestone": "proof",
461
501
  "name": "proof/round-trip"
462
502
  },
503
+ {
504
+ "edges": [
505
+ "subagent/inspect-repository",
506
+ "research/route",
507
+ "stopped/run-failed"
508
+ ],
509
+ "milestone": "research",
510
+ "name": "research/gather"
511
+ },
512
+ {
513
+ "edges": [
514
+ "proof/oss-baseline",
515
+ "credentials/plan",
516
+ "stopped/run-failed"
517
+ ],
518
+ "milestone": "research",
519
+ "name": "research/route"
520
+ },
463
521
  {
464
522
  "edges": [
465
523
  "proof/round-trip",
466
- "unsupported/no-validated-path"
524
+ "stopped/run-failed"
467
525
  ],
468
526
  "milestone": "starter",
469
527
  "name": "starter/clone"
470
528
  },
529
+ {
530
+ "edges": [],
531
+ "milestone": "stopped",
532
+ "name": "stopped/run-failed"
533
+ },
471
534
  {
472
535
  "edges": [],
473
536
  "milestone": "subagent",
@@ -1,5 +1,26 @@
1
1
  # Start CopilotKit onboarding
2
2
 
3
+ ## First, say which coding agent you are
4
+
5
+ Run this before anything else in this prompt, including the welcome message below:
6
+
7
+ ```text
8
+ npx --yes copilotkit@4.10.0 onboard identify --coding-agent <coding-agent-slug>
9
+ ```
10
+
11
+ Report your own product with one short slug, such as `codex` or `claude-code`.
12
+
13
+ It runs first because it is how this run reports that it started working. It needs no
14
+ browser, no session, and no project, so nothing below it can prevent it. Every rule after
15
+ this point can stop a run instead, and a run that stops before this command leaves no
16
+ trace that it ever began. The slug also tells the sign-in page which agent sent the
17
+ developer, so the page names you instead of "your coding agent".
18
+
19
+ The prompt the developer copied used to ask them to pass this. It asked a human to read
20
+ an instruction written for you, so it lives here now.
21
+
22
+ ## How to run this onboarding
23
+
3
24
  Act only as the orchestrator. Rely on subagents for all project work.
4
25
  Give every project task to a subagent.
5
26
  Do not inspect, change, implement, or validate the project yourself.
@@ -16,7 +37,7 @@ Every later command must run from the directory this run started in. A command r
16
37
  somewhere else, such as a sibling of that directory, is refused rather than answered,
17
38
  because the run it belongs to cannot be found from there. That refusal is a step to take,
18
39
  not a stop to report: run
19
- `npx --yes copilotkit@4.9.50 onboard start --run <onboarding_run_id>` in the directory
40
+ `npx --yes copilotkit@4.10.0 onboard start --run <onboarding_run_id>` in the directory
20
41
  you are now in, which binds it to the same run, then run the refused command again. Do not
21
42
  start a run without that id. A run started without it is a second run, and the work already
22
43
  done stops counting toward the first.
@@ -30,9 +51,21 @@ answer they cannot get, and it hides the documentation gap that blocks them.
30
51
  Send this exact message once, as your first message in this onboarding run, before
31
52
  anything else:
32
53
 
33
- Welcome to CopilotKit. I will check sign-in, inspect your project, recommend a setup, and
34
- show you a plan before I change files. After you approve the plan, I will build the
35
- integration, prove the full round trip, and leave the app running with its URLs.
54
+ Welcome to CopilotKit. By the end of this run your own application talks to an AI agent,
55
+ and its chat history stays. A user can close the tab, come back, and reopen any past
56
+ conversation in full. The managed Intelligence platform is what keeps them. I prove that
57
+ round trip in the running app before I call it done. You finish with working software and
58
+ the evidence that it works.
59
+
60
+ I will check sign-in, inspect your project, recommend a setup, and show you a plan before I
61
+ change files. After you approve the plan, I will build the integration, prove the full round
62
+ trip, and leave the app running with its URLs.
63
+
64
+ Everything I need from you comes before that approval: sign-in, a few short setup questions,
65
+ and the plan itself. After you approve it, you can walk away. Building and proving the
66
+ integration is the long part of this run, and I work through it without you. You hear from
67
+ me next when the app is running and I hand you its URLs, or when something stops me and I
68
+ tell you what it was.
36
69
 
37
70
  That message belongs to the run, not to this prompt. If you already sent it in this run, do
38
71
  not send it again, including on a second read of this prompt. It has no value after the
@@ -45,29 +78,32 @@ CLI telemetry setting when a later step tries to send a report.
45
78
 
46
79
  This run reports its own stops. If you stop this run at any point, send one short report
47
80
  before you stop. That covers a stop this prompt names, a stop a later prompt names, and a
48
- stop no prompt anticipated, including one your own harness causes. Run the feedback command
49
- without another developer question. The CLI telemetry gate decides whether the report is
81
+ stop no prompt anticipated, including one your own harness causes. Run the friction command without another developer question. The CLI telemetry gate decides whether the report is
50
82
  sent.
51
83
 
52
84
  ```text
53
- npx --yes copilotkit@4.9.50 onboard feedback
85
+ npx --yes copilotkit@4.10.0 onboard friction --phase stop --category <slug>
54
86
  ```
55
87
 
56
- Write at most four lines to the command's standard input: the step you stopped at and what
57
- stopped it. Send no secrets, source code, logs, or command output. The command refuses a
88
+ Write one or two sentences to standard input: the step you stopped at and what stopped it.
89
+ Pick the category that fits from docs-missing, docs-wrong, docs-sequential, cli-gap,
90
+ sdk-gap, environment, port-collision, credential, validation-loop, and other. Leave
91
+ --cost-seconds off. A run that stopped cannot separate one papercut's cost from the cost
92
+ of the whole run, so the estimate is optional on a stop report and only there. Send no secrets, source code, logs, or command output. The command refuses a
58
93
  report that carries any of those, prints the reason, and exits zero. A refused report is
59
94
  not a failed step. Reword it and send it again, or stop without a report.
60
95
 
61
96
  Reporting a stop is not a route change. It does not resume the run, it is not a question
62
97
  for the developer, and it does not replace whatever the rule that stopped you says to do
63
- next: send the report, then stop. Report friction only from a run that finished, never from
64
- a stop.
98
+ next: send the report, then stop.
65
99
 
66
100
  Until now the route out of an unsupported path was the only place that asked for a report,
67
101
  so a stop anywhere else left no trace at all. A stop nobody hears about is a stop this
68
102
  graph cannot fix.
69
103
 
70
- Run `npx --yes copilotkit@4.9.50 login --json` before any project work. This command
104
+ ## Check sign-in
105
+
106
+ Run `npx --yes copilotkit@4.10.0 login --json` before any project work. This command
71
107
  checks the current session. It starts sign-in only as needed. Treat this as a long-lived
72
108
  streaming process. Do not wait for the command to exit before you read its standard output.
73
109
 
@@ -80,8 +116,9 @@ Read each JSON Lines record as the running command writes it:
80
116
  When that first URL arrives, send this exact message once. Do not send it when the
81
117
  existing session is already valid, and do not add a feature list or another explanation:
82
118
 
83
- I will open a sign-in page so I can create a project and API key. You can remove the key
84
- later to disconnect this workspace.
119
+ I will open a sign-in page. Signing in gives this project a managed CopilotKit project
120
+ and its API key. That key is what lets your users reopen past conversations. You can
121
+ remove it later to disconnect this workspace.
85
122
 
86
123
  3. Open the first `authentication_url` exactly once with the operating system's default
87
124
  browser. Run the opener separately from the long-lived login process. Use the command
@@ -101,180 +138,9 @@ Read each JSON Lines record as the running command writes it:
101
138
  Do not use `whoami` for this check. It has no JSON output and some failures exit with code
102
139
  zero. Do not put account tokens or credentials in the conversation.
103
140
 
104
- ## How to wait for a subagent
105
-
106
- This rule covers every subagent this run spawns, here and in every later prompt.
107
-
108
- Spawning a subagent returns almost at once. That return is the dispatch succeeding, not the
109
- work finishing: the subagent runs in the background, and its result reaches you as a
110
- notification. Where your own harness hands you the report from the dispatch itself instead,
111
- you already hold the result. Either way there is nothing to poll.
112
-
113
- After you dispatch, do the work that does not depend on the result -- dispatch the other
114
- subagent, run the preflight below -- and then stop and wait. Wherever a prompt in this graph
115
- says to wait for a subagent to finish, that is what it means.
116
-
117
- Do not sleep to pass the time. Not `sleep`, not `/bin/sleep`, not a timer under another
118
- name, and not a loop that re-checks whether a result has arrived. Sleeping tells you nothing
119
- that waiting for the result does not, and it spends wall clock, which is one of the things
120
- this journey is measured on. One recorded run spent most of two hours asleep between
121
- dispatches that had all returned in seconds.
122
-
123
- Before you ask the developer any setup question, finish every read-only investigation and
124
- preflight check in this section.
125
-
126
- Prepare two research assignments. Give each research subagent one assignment. Tell it to run
127
- `npx --yes copilotkit@4.9.50 onboard read subagent/inspect-repository` first and follow the
128
- prompt it returns. If that read fails because the subagent cannot use the shell, stop that
129
- subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
130
- and the same handoff. Require only its assigned packet.
131
-
132
- Start both research subagents in parallel:
133
-
134
- 1. Spawn one research subagent. Assign it the project evidence packet.
135
- 2. Spawn a second research subagent. Assign it the environment evidence packet.
136
- 3. Start both research subagents. Then continue.
137
-
138
- Continue to the surface-control preflight.
139
-
140
- Prove whether your coding-agent environment has browser or device control. Do not assume it
141
- either way, and do not report what you expect to be true: a run that guesses here records a
142
- capability the rest of the graph then trusts. Use a browser or device tool already
143
- configured for the coding agent you are running as, the same way a later step uses the
144
- CopilotKit documentation server. With a browser tool, open one inert page such as
145
- `about:blank` and read its title. With a device tool and no browser, list the booted devices
146
- in one command: `adb devices -l`. Record the outcome of that attempt: `available` when the
147
- tool answered, `unavailable` when there was none to call or the page did not open. Use
148
- the control that matches the selected surface later.
149
-
150
- Where the browser probe answered, register nothing. The harness came equipped and the run
151
- owes it no setup.
152
-
153
- Where no browser tool answered, register one for the coding agent you are running as, then
154
- run the same probe again and record what the second attempt did. Register this server:
155
-
156
- ```text
157
- npx --yes @playwright/mcp@latest --browser chrome --isolated --output-dir <project>/.copilotkit/proof/browser
158
- ```
159
-
160
- Replace `<project>` with the absolute path of the target project directory. The server is
161
- registered against the coding agent rather than against a directory, so a relative path here
162
- resolves wherever that server happens to start.
163
-
164
- `--browser chrome` drives the Google Chrome the developer already has, so this downloads no
165
- browser. `--isolated` keeps the profile in memory, so it never touches their own Chrome
166
- profile. `--output-dir` is what keeps the snapshots and screenshots out of the developer's
167
- repository root: without it this server writes them to `.playwright-mcp/` beside their code,
168
- which a project that never asked for a browser has no reason to carry, and which the graph's
169
- own evidence rule already has a place for. Register it the way your own harness registers a
170
- server, which is the mechanism a later step uses for the CopilotKit documentation server.
171
-
172
- Tell the developer in one line what you registered, that it drives their installed Chrome,
173
- and that it lives in this coding agent's configuration rather than in their repository. Do
174
- not ask them to approve it, and do not ask a second question about it.
175
-
176
- Do not add a browser or device driver to the project. A driver added there is a
177
- devDependency and a browser download in the diff of a repository that never asked for one,
178
- which is a different thing from a server registered against the coding agent.
179
-
180
- Where the second probe still does not answer -- no Chrome to drive, no network, or a
181
- harness that cannot register a server -- record `unavailable` and carry it. Do not keep
182
- trying, and do not ask the developer about this tool limit.
183
-
184
- Registering a server does not boot a device. Where the device probe found none, that is the
185
- whole finding, and a browser is not a substitute for a device.
186
-
187
- Wait for both research subagents to finish.
188
-
189
- Then report that the research came back:
190
-
191
- ```text
192
- npx --yes copilotkit@4.9.50 onboard checkpoint --phase research-returned
193
- ```
194
-
195
- A refused checkpoint prints its reason and leaves onboarding unaffected. It is not a
196
- failed step.
197
-
198
- Continue only if both research results start with `Status: passed`. For `Status: failed`,
199
- retry only that packet with its failed items, up to three attempts. For `Status: blocked`,
200
- or a third failed result, use the stop route at the end of this prompt.
201
-
202
- Merge both evidence packets by item. On a conflict, spawn one fresh read-only verifier with
203
- the item, both cited findings, and the research limits. Require its result to start with
204
- `Status: passed`, `Status: failed`, or `Status: blocked`. Use only a passed cited result. Do
205
- not inspect the project to settle the conflict yourself. Use the stop route for a non-pass
206
- verifier result.
207
-
208
- Match environment evidence to the target app directory from the project packet. Require one
209
- target app directory and one matching environment row. If either packet gives no match or
210
- more than one match, send each research worker a focused directory check. Continue only when
211
- both workers return the same one target app directory. Both results must start with
212
- `Status: passed`. Otherwise, use the stop route.
213
-
214
- ## Capture the protected-path baseline
215
-
216
- Before you route on, run this from the target app directory:
217
-
218
- ```text
219
- npx --yes copilotkit@4.9.50 onboard protect
220
- ```
221
-
222
- It reads the working tree itself, records every changed or untracked path with a digest,
223
- and prints the list. Require its result to start with `Status: passed`.
224
-
225
- Use the printed list as the protected path list for the rest of the run. Do not assemble
226
- that list yourself, and do not ask a subagent to hold it: every later audit reads the
227
- captured baseline back from the CLI, so no step depends on a subagent that has since
228
- finished.
229
-
230
- Paths printed as `deferred` are the ones onboarding itself writes, `.env` and
231
- `.copilotkit/project.json`. Every audit reports them and none fails on them until the step
232
- that writes them re-captures them, so a run whose only untracked files are the two this
233
- graph exists to create is never stopped by them.
234
-
235
- If the result starts with `Status: blocked`, report the printed reason and use the stop
236
- route at the end of this prompt.
237
-
238
- ## What the merged findings must contain
239
-
240
- If a repository file exists, each finding must cite it. For an empty project, the subagents
241
- must cite the directory check and report absent parts.
242
-
243
- The findings must cover what the project is for, the agent, frontend, CopilotKit setup,
244
- authentication, credential names, and validation path. Do not ask the developer for facts
245
- that the repository answers.
246
-
247
- ## Route on the merged findings
248
-
249
- Read the route off the merged findings. Three of them decide it, and you already hold all
250
- three:
251
-
252
- 1. an agent is present,
253
- 2. a frontend is present,
254
- 3. a CopilotKit integration is present.
255
-
256
- Do not infer a working OSS path from packages, imports, project files, or keys, and do not
257
- settle these three from your own reading of the project. Each one comes from the merged
258
- packets or it is not proved.
259
-
260
- If all three are proved, prove the live starting state before any project file changes. Run
261
- `npx --yes copilotkit@4.9.50 onboard read proof/oss-baseline`.
262
-
263
- Route there before you ask the developer anything else. The questions after this prompt
264
- select a framework and a frontend that the findings already name, so a developer who
265
- answers them has answered for work the next node exists to check. Their existing
266
- application is what that node protects. Whether it works is what the proof decides, not
267
- these three findings.
268
-
269
- For every other combination of the three, take one more step first. If neither the
270
- developer nor the repository findings prove what the project is for, ask one guided
271
- question about the user outcome. This asks what the developer wants to build before you
272
- select a framework. Give two or three short examples and offer a minimal starter. Record
273
- the answer and give it to each later subagent. Then run
274
- `npx --yes copilotkit@4.9.50 onboard read credentials/plan`.
275
-
276
- Do not ask that question on the route above. A project carrying all three states its
277
- purpose in the application it already serves.
141
+ When sign-in is settled, run
142
+ `npx --yes copilotkit@4.10.0 onboard read research/gather`.
278
143
 
279
- If authentication or inspection stops onboarding, run
280
- `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
144
+ If sign-in stops onboarding, run
145
+ `npx --yes copilotkit@4.10.0 onboard read stopped/run-failed`. It says nothing about
146
+ whether this project's stack is supported, which is not yet known at this point.
@@ -100,7 +100,7 @@ of this journey, and a drawer that lists nothing is not a reason to mint one. Li
100
100
  tokens stay a self-hosted concern.
101
101
 
102
102
  Where this journey's frontend framework ships no threads drawer -- React Native --, the
103
- fifth item is proved by `npx --yes copilotkit@4.9.50 verify --round-trip`, which sends a
103
+ fifth item is proved by `npx --yes copilotkit@4.10.0 verify --round-trip`, which sends a
104
104
  real request and reads the answer back off the thread it landed on. The run says which of
105
105
  the two it proved. Do not send a run to the managed Intelligence dashboard to prove this.
106
106
  An authenticated browser session at a hosted dashboard is the one thing an agent-driven run
@@ -116,7 +116,7 @@ and passed -- so a run scored on either one was scored on the same fact. Every r
116
116
  resolves that condition from, while `licenseStatus` is a compatibility projection of it
117
117
  for older thread surfaces and outlives them only until those surfaces go.
118
118
 
119
- Then run `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
119
+ Then run `npx --yes copilotkit@4.10.0 onboard read credentials/finalize-plan`.
120
120
 
121
121
  If a selected page does not load after the second method, run
122
- `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
122
+ `npx --yes copilotkit@4.10.0 onboard read unsupported/no-validated-path`.