@vibest/cli 0.0.2-beta.2 → 0.0.2-beta.4
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/harnesses/agy/.agents/plugins/vibest/hook.sh +3 -20
- package/harnesses/agy/.agents/plugins/vibest/plugin.json +1 -1
- package/harnesses/agy/.agents/plugins/vibest/skills/delegate/SKILL.md +6 -11
- package/harnesses/agy/.agents/plugins/vibest/skills/pipeline/SKILL.md +3 -3
- package/harnesses/claude/.claude-plugin/plugin.json +1 -1
- package/harnesses/claude/README.md +1 -1
- package/harnesses/claude/hooks/register.mjs +205 -85
- package/harnesses/claude/skills/delegate/SKILL.md +6 -11
- package/harnesses/claude/skills/pipeline/SKILL.md +3 -3
- package/harnesses/cursor/.cursor-plugin/plugin.json +1 -1
- package/harnesses/cursor/hooks/vibest.sh +3 -20
- package/harnesses/cursor/skills/delegate/SKILL.md +6 -11
- package/harnesses/cursor/skills/pipeline/SKILL.md +3 -3
- package/harnesses/pi/extension.mjs +317 -150
- package/harnesses/pi/presentation.mjs +151 -80
- package/harnesses/pi/skills/delegate/SKILL.md +6 -11
- package/harnesses/pi/skills/pipeline/SKILL.md +3 -3
- package/package.json +15 -15
|
@@ -8998,9 +8998,6 @@ class AgentRefused extends TaggedError3()("AgentRefused", {
|
|
|
8998
8998
|
}
|
|
8999
8999
|
}
|
|
9000
9000
|
|
|
9001
|
-
class HookFailed extends TaggedError3()("HookFailed", { message: String4 }) {
|
|
9002
|
-
}
|
|
9003
|
-
|
|
9004
9001
|
class PluginsNotActive extends TaggedError3()("PluginsNotActive", {
|
|
9005
9002
|
plugins: ArraySchema(String4)
|
|
9006
9003
|
}) {
|
|
@@ -9065,7 +9062,9 @@ var SessionCreated = fact("session.created", "session", {
|
|
|
9065
9062
|
name: Text,
|
|
9066
9063
|
directory: String4,
|
|
9067
9064
|
parent: optional3(Text),
|
|
9068
|
-
origin: optional3(Struct({ peer: Text, project: Text, session: optional3(Text) }))
|
|
9065
|
+
origin: optional3(Struct({ peer: Text, project: Text, session: optional3(Text) })),
|
|
9066
|
+
message: optional3(Seq),
|
|
9067
|
+
team: optional3(Text)
|
|
9069
9068
|
});
|
|
9070
9069
|
var SessionRenamed = fact("session.renamed", "session", { name: Text });
|
|
9071
9070
|
var SessionDirectoryChanged = fact("session.directory_changed", "session", { directory: Text });
|
|
@@ -9088,51 +9087,117 @@ var ProcessReady = fact("process.ready", "session", {
|
|
|
9088
9087
|
});
|
|
9089
9088
|
var ProcessPid = fact("process.pid", "session", { process: Seq, pid: Pid });
|
|
9090
9089
|
var ProcessConversation = fact("process.conversation", "session", { process: Seq, conversation: Text });
|
|
9090
|
+
var AgentFrom = Struct({
|
|
9091
|
+
session: String4,
|
|
9092
|
+
agent: optional3(String4),
|
|
9093
|
+
title: optional3(String4),
|
|
9094
|
+
machine: optional3(String4)
|
|
9095
|
+
});
|
|
9096
|
+
var AgentSender = Struct({ type: Literal2("agent"), ...AgentFrom.fields });
|
|
9097
|
+
var PluginSender = Struct({ type: Literal2("plugin"), plugin: Text });
|
|
9098
|
+
var Sender = Union2([
|
|
9099
|
+
AgentSender,
|
|
9100
|
+
PluginSender,
|
|
9101
|
+
Struct({ type: Literal2("vibest") }),
|
|
9102
|
+
Struct({ type: Literal2("user") })
|
|
9103
|
+
]);
|
|
9091
9104
|
var ProcessEndReason = Literals([
|
|
9092
9105
|
"exited",
|
|
9093
|
-
"limited",
|
|
9094
9106
|
"restart",
|
|
9095
9107
|
"move",
|
|
9096
9108
|
"archived",
|
|
9097
9109
|
"launch_failed",
|
|
9098
|
-
"superseded"
|
|
9110
|
+
"superseded",
|
|
9111
|
+
"stopped"
|
|
9099
9112
|
]);
|
|
9100
|
-
var ProcessEnded = fact("process.ended", "session", {
|
|
9101
|
-
|
|
9102
|
-
|
|
9113
|
+
var ProcessEnded = fact("process.ended", "session", {
|
|
9114
|
+
process: Seq,
|
|
9115
|
+
reason: ProcessEndReason,
|
|
9116
|
+
by: optional3(Sender)
|
|
9117
|
+
});
|
|
9118
|
+
var ExecutionOutcome = Literals(["completed", "failed", "interrupted", "lost", "not_started"]);
|
|
9119
|
+
var ExecutionObservation = Literals(["lost", "not_started"]);
|
|
9120
|
+
var ExecutionFailure = Struct({
|
|
9121
|
+
message: Text,
|
|
9122
|
+
kind: optional3(Literal2("limit")),
|
|
9123
|
+
resetAt: optional3(Number5)
|
|
9124
|
+
});
|
|
9125
|
+
var ExecutionAllocated = fact("execution.allocated", "session", {
|
|
9126
|
+
executionId: Seq,
|
|
9127
|
+
processId: optional3(Seq),
|
|
9103
9128
|
typed: optional3(Text)
|
|
9104
9129
|
});
|
|
9105
9130
|
var ExecutionAccepted = fact("execution.accepted", "session", { execution: Seq });
|
|
9106
|
-
var
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9131
|
+
var ExecutionStarted = fact("execution.started", "session", {
|
|
9132
|
+
executionId: Seq,
|
|
9133
|
+
processId: optional3(Seq)
|
|
9134
|
+
});
|
|
9135
|
+
var ExecutionSucceeded = fact("execution.succeeded", "session", {
|
|
9136
|
+
executionId: Seq,
|
|
9112
9137
|
reply: optional3(String4)
|
|
9113
9138
|
});
|
|
9114
|
-
var
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
title: optional3(String4),
|
|
9119
|
-
machine: optional3(String4)
|
|
9139
|
+
var ExecutionFailed = fact("execution.failed", "session", {
|
|
9140
|
+
executionId: Seq,
|
|
9141
|
+
failure: ExecutionFailure,
|
|
9142
|
+
reply: optional3(String4)
|
|
9120
9143
|
});
|
|
9121
|
-
var
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9144
|
+
var ExecutionInterrupted = fact("execution.interrupted", "session", {
|
|
9145
|
+
executionId: Seq,
|
|
9146
|
+
reason: optional3(Text),
|
|
9147
|
+
reply: optional3(String4)
|
|
9148
|
+
});
|
|
9149
|
+
var ExecutionUnresolved = fact("execution.unresolved", "session", {
|
|
9150
|
+
executionId: Seq,
|
|
9151
|
+
observation: ExecutionObservation,
|
|
9152
|
+
failure: optional3(ExecutionFailure),
|
|
9153
|
+
reply: optional3(String4)
|
|
9154
|
+
});
|
|
9155
|
+
var ExecutionInput = fact("execution.input", "session", {
|
|
9156
|
+
executionId: Seq,
|
|
9157
|
+
typed: Text
|
|
9158
|
+
});
|
|
9159
|
+
var InboxHistory = Literals([
|
|
9160
|
+
"route",
|
|
9161
|
+
"delivered_without_execution",
|
|
9162
|
+
"failed_unspecified",
|
|
9163
|
+
"unconfirmed",
|
|
9164
|
+
"released"
|
|
9165
|
+
]);
|
|
9166
|
+
var InboxEnqueued = fact("inbox.enqueued", "session", {
|
|
9167
|
+
sender: Sender,
|
|
9126
9168
|
content: String4,
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9169
|
+
senderExecutionId: optional3(Seq),
|
|
9170
|
+
requestId: optional3(Text),
|
|
9171
|
+
transferId: optional3(Text),
|
|
9172
|
+
aboutSessionId: optional3(Text)
|
|
9130
9173
|
});
|
|
9131
|
-
var
|
|
9132
|
-
|
|
9133
|
-
to: Literals(["pending", "delivering", "delivered", "failed", "dropped"]),
|
|
9174
|
+
var InboxDeliveryStarted = fact("inbox.delivery_started", "session", {
|
|
9175
|
+
messageId: Seq,
|
|
9134
9176
|
execution: optional3(Seq)
|
|
9135
9177
|
});
|
|
9178
|
+
var InboxDelivered = fact("inbox.delivered", "session", {
|
|
9179
|
+
messageId: Seq,
|
|
9180
|
+
recipientExecutionId: Seq
|
|
9181
|
+
});
|
|
9182
|
+
var InboxDeliveryFailed = fact("inbox.delivery_failed", "session", {
|
|
9183
|
+
messageId: Seq,
|
|
9184
|
+
reason: Text
|
|
9185
|
+
});
|
|
9186
|
+
var InboxDropped = fact("inbox.dropped", "session", {
|
|
9187
|
+
messageId: Seq,
|
|
9188
|
+
reason: Text
|
|
9189
|
+
});
|
|
9190
|
+
var InboxUnresolved = fact("inbox.unresolved", "session", {
|
|
9191
|
+
history: InboxHistory,
|
|
9192
|
+
messageId: optional3(Seq),
|
|
9193
|
+
execution: optional3(Seq),
|
|
9194
|
+
sender: optional3(Sender),
|
|
9195
|
+
content: optional3(String4),
|
|
9196
|
+
senderExecutionId: optional3(Seq),
|
|
9197
|
+
requestId: optional3(Text),
|
|
9198
|
+
transferId: optional3(Text),
|
|
9199
|
+
aboutSessionId: optional3(Text)
|
|
9200
|
+
});
|
|
9136
9201
|
var MachineAdded = fact("machine.added", "ledger", { name: Text, target: Text, vibestd: Text });
|
|
9137
9202
|
var MachineConnected = fact("machine.connected", "ledger", { name: Text });
|
|
9138
9203
|
var MachineRemoved = fact("machine.removed", "ledger", { name: Text });
|
|
@@ -9144,7 +9209,8 @@ var OutboxQueued = fact("outbox.queued", "ledger", {
|
|
|
9144
9209
|
recipient: optional3(Text),
|
|
9145
9210
|
kind: optional3(Literals(["send", "notice"])),
|
|
9146
9211
|
content: String4,
|
|
9147
|
-
from: optional3(
|
|
9212
|
+
from: optional3(AgentFrom),
|
|
9213
|
+
execution: optional3(Seq)
|
|
9148
9214
|
});
|
|
9149
9215
|
var OutboxAcked = fact("outbox.acked", "ledger", { peer: Text, ids: NonEmptyArray(Text) });
|
|
9150
9216
|
var Catalog = {
|
|
@@ -9162,11 +9228,20 @@ var Catalog = {
|
|
|
9162
9228
|
[ProcessPid.type]: ProcessPid,
|
|
9163
9229
|
[ProcessConversation.type]: ProcessConversation,
|
|
9164
9230
|
[ProcessEnded.type]: ProcessEnded,
|
|
9165
|
-
[
|
|
9231
|
+
[ExecutionAllocated.type]: ExecutionAllocated,
|
|
9166
9232
|
[ExecutionAccepted.type]: ExecutionAccepted,
|
|
9167
|
-
[
|
|
9168
|
-
[
|
|
9169
|
-
[
|
|
9233
|
+
[ExecutionStarted.type]: ExecutionStarted,
|
|
9234
|
+
[ExecutionSucceeded.type]: ExecutionSucceeded,
|
|
9235
|
+
[ExecutionFailed.type]: ExecutionFailed,
|
|
9236
|
+
[ExecutionInterrupted.type]: ExecutionInterrupted,
|
|
9237
|
+
[ExecutionUnresolved.type]: ExecutionUnresolved,
|
|
9238
|
+
[ExecutionInput.type]: ExecutionInput,
|
|
9239
|
+
[InboxEnqueued.type]: InboxEnqueued,
|
|
9240
|
+
[InboxDeliveryStarted.type]: InboxDeliveryStarted,
|
|
9241
|
+
[InboxDelivered.type]: InboxDelivered,
|
|
9242
|
+
[InboxDeliveryFailed.type]: InboxDeliveryFailed,
|
|
9243
|
+
[InboxDropped.type]: InboxDropped,
|
|
9244
|
+
[InboxUnresolved.type]: InboxUnresolved,
|
|
9170
9245
|
[MachineAdded.type]: MachineAdded,
|
|
9171
9246
|
[MachineConnected.type]: MachineConnected,
|
|
9172
9247
|
[MachineRemoved.type]: MachineRemoved,
|
|
@@ -9194,7 +9269,7 @@ var ExecutionState = Literals([
|
|
|
9194
9269
|
"lost",
|
|
9195
9270
|
"not_started"
|
|
9196
9271
|
]);
|
|
9197
|
-
var InboxStatus = Literals(["pending", "delivering", "delivered", "failed", "dropped"]);
|
|
9272
|
+
var InboxStatus = Literals(["pending", "delivering", "delivered", "failed", "dropped", "unresolved"]);
|
|
9198
9273
|
var RuntimeAddress = Struct({
|
|
9199
9274
|
machine: String4,
|
|
9200
9275
|
id: String4
|
|
@@ -9209,30 +9284,13 @@ var RuntimeMachine = Struct({
|
|
|
9209
9284
|
});
|
|
9210
9285
|
var InboxRow = Struct({
|
|
9211
9286
|
id: Number5,
|
|
9212
|
-
sender:
|
|
9213
|
-
from: NullOr(Sender),
|
|
9287
|
+
sender: Sender,
|
|
9214
9288
|
recipient: NullOr(String4),
|
|
9215
|
-
kind: InboxKind,
|
|
9216
9289
|
message: String4,
|
|
9217
9290
|
status: InboxStatus
|
|
9218
9291
|
});
|
|
9219
9292
|
var Detail = Struct({
|
|
9220
|
-
sender:
|
|
9221
|
-
Struct({
|
|
9222
|
-
agent: String4,
|
|
9223
|
-
title: String4,
|
|
9224
|
-
session: String4,
|
|
9225
|
-
machine: String4
|
|
9226
|
-
}),
|
|
9227
|
-
Struct({
|
|
9228
|
-
agent: String4,
|
|
9229
|
-
title: String4,
|
|
9230
|
-
session: String4
|
|
9231
|
-
}),
|
|
9232
|
-
Struct({ address: String4 }),
|
|
9233
|
-
Literal2("vibest"),
|
|
9234
|
-
Literal2("user")
|
|
9235
|
-
]),
|
|
9293
|
+
sender: Sender,
|
|
9236
9294
|
message: String4
|
|
9237
9295
|
});
|
|
9238
9296
|
var Taken = Struct({
|
|
@@ -9293,12 +9351,6 @@ class SessionBusy extends TaggedError3()("SessionBusy", {
|
|
|
9293
9351
|
}) {
|
|
9294
9352
|
}
|
|
9295
9353
|
|
|
9296
|
-
class LimitReached extends TaggedError3()("LimitReached", { limit: Number5 }) {
|
|
9297
|
-
get message() {
|
|
9298
|
-
return `VIBEST_MAX_SESSIONS=${this.limit} sessions are already open (working or kept); vibest archive one first`;
|
|
9299
|
-
}
|
|
9300
|
-
}
|
|
9301
|
-
|
|
9302
9354
|
class NotReady extends TaggedError3()("NotReady", {
|
|
9303
9355
|
id: String4,
|
|
9304
9356
|
message: String4
|
|
@@ -9313,9 +9365,12 @@ class NoCallingSession extends TaggedError3()("NoCallingSession", {}) {
|
|
|
9313
9365
|
|
|
9314
9366
|
class UnknownAgent extends TaggedError3()("UnknownAgent", {
|
|
9315
9367
|
agent: String4,
|
|
9316
|
-
known: ArraySchema(Struct({ id: String4, description: String4 }))
|
|
9368
|
+
known: ArraySchema(Struct({ id: String4, description: String4 })),
|
|
9369
|
+
invalid: optional2(String4)
|
|
9317
9370
|
}) {
|
|
9318
9371
|
get message() {
|
|
9372
|
+
if (this.invalid !== undefined)
|
|
9373
|
+
return `agent definition ${this.agent} is invalid: ${this.invalid}`;
|
|
9319
9374
|
const known = this.known.map((definition) => `${definition.id} (${definition.description})`).join("; ");
|
|
9320
9375
|
return `no agent definition ${this.agent}; registered: ${known || "none"}`;
|
|
9321
9376
|
}
|
|
@@ -9352,6 +9407,23 @@ var HarnessChoice = Struct({
|
|
|
9352
9407
|
problem: NullOr(String4),
|
|
9353
9408
|
models: ArraySchema(HarnessModel)
|
|
9354
9409
|
});
|
|
9410
|
+
var AgentListing = Struct({
|
|
9411
|
+
agents: ArraySchema(Struct({
|
|
9412
|
+
id: String4,
|
|
9413
|
+
description: String4,
|
|
9414
|
+
plugin: String4,
|
|
9415
|
+
harness: optional2(String4),
|
|
9416
|
+
provider: optional2(String4),
|
|
9417
|
+
model: optional2(String4),
|
|
9418
|
+
system: String4
|
|
9419
|
+
})),
|
|
9420
|
+
invalid: ArraySchema(Struct({
|
|
9421
|
+
id: optional2(String4),
|
|
9422
|
+
source: String4,
|
|
9423
|
+
error: String4,
|
|
9424
|
+
plugin: String4
|
|
9425
|
+
}))
|
|
9426
|
+
});
|
|
9355
9427
|
|
|
9356
9428
|
// src/delivery-text.ts
|
|
9357
9429
|
var PREVIEW = 120;
|
|
@@ -9360,24 +9432,23 @@ var clip = (s) => {
|
|
|
9360
9432
|
const cps = [...s];
|
|
9361
9433
|
return cps.length <= PREVIEW ? s : `${cps.slice(0, PREVIEW - 1).join("")}…`;
|
|
9362
9434
|
};
|
|
9363
|
-
var
|
|
9364
|
-
const
|
|
9365
|
-
if (
|
|
9366
|
-
return `Message from @${titled(
|
|
9367
|
-
|
|
9368
|
-
const id = address.slice(slash + 1, slash + 9);
|
|
9369
|
-
return `Message from @${titled(machine)} · (${machine}/${id})`;
|
|
9435
|
+
var agentHead = (sender) => {
|
|
9436
|
+
const id = sender.session.slice(0, 8);
|
|
9437
|
+
if (sender.agent !== undefined)
|
|
9438
|
+
return `Message from @${titled(sender.agent)} · ${sender.title ?? ""} (${sender.machine === undefined ? id : `${sender.machine}/${id}`})`;
|
|
9439
|
+
return sender.machine === undefined ? `Message from @${titled(id)}` : `Message from @${titled(sender.machine)} · (${sender.machine}/${id})`;
|
|
9370
9440
|
};
|
|
9371
9441
|
var head2 = (sender) => {
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9442
|
+
switch (sender.type) {
|
|
9443
|
+
case "vibest":
|
|
9444
|
+
return "Message from Vibest";
|
|
9445
|
+
case "user":
|
|
9446
|
+
return "Message from You";
|
|
9447
|
+
case "plugin":
|
|
9448
|
+
return `Message from Vibest · ${sender.plugin}`;
|
|
9449
|
+
case "agent":
|
|
9450
|
+
return agentHead(sender);
|
|
9451
|
+
}
|
|
9381
9452
|
};
|
|
9382
9453
|
var firstLine = (message) => message.trim().split(`
|
|
9383
9454
|
`)[0] ?? "";
|
|
@@ -12,18 +12,13 @@ You direct subagents. You stay with the user. An agent messages you when it fini
|
|
|
12
12
|
Split independent pieces. Research and review run in parallel. One writing subagent per set of files. A few shell reads (`git diff`, `rg`) you do yourself.
|
|
13
13
|
|
|
14
14
|
```
|
|
15
|
-
vibest run [<harness>] --title '<Title>' -- '<self-contained task>'
|
|
15
|
+
vibest run [<harness>] [--agent <id>] --title '<Title>' -- '<self-contained task>'
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Its id is <id>.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
`--archive-on-idle` is only for work whose message you will not answer. It archives the first time the session is idle after a completed execution with nothing it sent or was sent still waiting. The branch is kept. Do not `vibest send` it after that. Any execution that ends normally archives it, a question included, so do not use it for a session that may need an answer. A failed execution has not archived it: send the correction to the id it printed; the flag still archives the completed execution that follows. A reviewer that gets later executions is the pipeline skill and must stay open, without this flag.
|
|
25
|
-
|
|
26
|
-
- Leave `<harness>` out to use your own harness, provider and model; name one (`pi`, `claude`, `cursor`, or any harness a plugin adds; `vibest harness list`) to switch.
|
|
20
|
+
- `--agent <id>`: pick the agent whose description fits the piece of work (your session facts list them; `vibest agent list` is the current list). Without it the session is `general`.
|
|
21
|
+
- Leave `<harness>` out to use the agent's own harness when it has one, else your own harness, provider and model; name one (`pi`, `claude`, `cursor`, or any harness a plugin adds; `vibest harness list`) to switch.
|
|
27
22
|
- Always pass `--title`: three to six words, verb first, first letter capitalised, no kebab-case, saying what is done rather than how ("Fix login redirect loop"). The user's language is fine.
|
|
28
23
|
- Each session gets its own new worktree.
|
|
29
24
|
- Several `vibest run` commands in one message start in parallel.
|
|
@@ -57,9 +52,9 @@ Then say what changed, the evidence, and the branch. `<id>` is the id the run pr
|
|
|
57
52
|
|
|
58
53
|
## Finish
|
|
59
54
|
|
|
60
|
-
- Archive a research
|
|
61
|
-
- Keep an agent that changed code until the user asks to
|
|
62
|
-
- A `## Remember` section in a message:
|
|
55
|
+
- Archive a research, review or verification session with `vibest archive <id>` once you have read its message and will not continue it.
|
|
56
|
+
- Keep an agent that changed code until the user asks to archive it. Archiving keeps the branch, and the worktree whenever it holds unsaved work. `vibest archive --keep-worktree <id>` only when the user wants the directory kept.
|
|
57
|
+
- A `## Remember` section in a message: maintain both the topic file `$VIBEST_PROJECT_DIR/memories/<name>.md` (one lesson per file, starting with frontmatter `name` and `description` or a one-line summary, with the detail kept in the topic file) and its one-line entry (`- memories/<name>.md — <summary>`, under 150 characters) in `$VIBEST_PROJECT_DIR/memories/MEMORY.md`. Only `memories/MEMORY.md` is loaded into the system prompt (capped at 100 lines and 8000 bytes); topic files are read on demand or searched with `vibest project search <query> --kind memories`. When a lesson changes or turns out to be wrong, update or delete its topic file and update or remove its entry in `memories/MEMORY.md` instead of only appending; compact `memories/MEMORY.md` to under 70 lines when it approaches the cap.
|
|
63
58
|
|
|
64
59
|
## The user steps into a pane
|
|
65
60
|
|
|
@@ -13,7 +13,7 @@ Plan → the user agrees → implement → review until the reviewer approves
|
|
|
13
13
|
vibest run [<harness>] --title 'Plan <topic>' -- 'Write an implementation plan for: <goal, paths, constraints>. Read the code. Send me the approach, the files to change, the steps, how to verify, and open questions. Do not modify files.'
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Its id is <planner id>. Tell the user the plan is being written and end your execution.
|
|
16
|
+
Its id is <planner id>. Tell the user the plan is being written and end your execution.
|
|
17
17
|
|
|
18
18
|
## 2. Agree
|
|
19
19
|
|
|
@@ -27,7 +27,7 @@ Save the agreed plan, verbatim, with your file tool as `$VIBEST_PROJECT_DIR/arti
|
|
|
27
27
|
vibest run [<harness>] --title 'Implement <topic>' --file <absolute plan path> -- 'Implement the attached plan exactly. Run the tests and typecheck, commit on a branch, push, and send me the branch and hash. Do not open a pull request.'
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Its id is <implementer id>. The absolute plan path is the value of VIBEST_PROJECT_DIR (`echo $VIBEST_PROJECT_DIR`, or `directory` from `vibest project info`) plus `/artifacts/` and the file name; vibest copies the file for the session and ends its task with a line naming the copy.
|
|
30
|
+
Its id is <implementer id>. The absolute plan path is the value of VIBEST_PROJECT_DIR (`echo $VIBEST_PROJECT_DIR`, or `directory` from `vibest project info`) plus `/artifacts/` and the file name; vibest copies the file for the session and ends its task with a line naming the copy. When it sends its message, check the diff and the tests yourself before review.
|
|
31
31
|
|
|
32
32
|
## 4. Review
|
|
33
33
|
|
|
@@ -38,7 +38,7 @@ Read-only here is the prompt you pass, plus the shared-worktree git rule the ses
|
|
|
38
38
|
vibest run [<harness>] --title 'Review <topic>' --share <implementer id> -- 'Review the change on this branch against the plan at <absolute plan path>. Run git diff main...HEAD. Do not modify files, commit, or move HEAD. Look for bugs, missing tests, and departures from the plan; run the tests. Send me a message that starts with "verdict: approve" or "verdict: changes requested", then each comment with file and line.'
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Its id is <reviewer id>.
|
|
41
|
+
Its id is <reviewer id>.
|
|
42
42
|
|
|
43
43
|
## 5. Until approval
|
|
44
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibest/cli",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.4",
|
|
4
4
|
"description": "vibest: vibestd daemon and the vibest CLI. An entry session directing sessions in herdr panes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@effect/platform-bun": "4.0.2",
|
|
34
34
|
"@effect/sql-sqlite-bun": "4.0.2",
|
|
35
|
-
"@vibest/builtins": "0.0.2-beta.
|
|
36
|
-
"@vibest/client": "0.0.2-beta.
|
|
37
|
-
"@vibest/core": "0.0.2-beta.
|
|
38
|
-
"@vibest/platform-bun": "0.0.2-beta.
|
|
39
|
-
"@vibest/plugin": "0.0.2-beta.
|
|
40
|
-
"@vibest/plugin-harnesses": "0.0.2-beta.
|
|
41
|
-
"@vibest/protocol": "0.0.2-beta.
|
|
42
|
-
"@vibest/runtime-herdr": "0.0.2-beta.
|
|
43
|
-
"@vibest/runtime-herdr-core": "0.0.2-beta.
|
|
44
|
-
"@vibest/schema": "0.0.2-beta.
|
|
45
|
-
"@vibest/server": "0.0.2-beta.
|
|
35
|
+
"@vibest/builtins": "0.0.2-beta.4",
|
|
36
|
+
"@vibest/client": "0.0.2-beta.4",
|
|
37
|
+
"@vibest/core": "0.0.2-beta.4",
|
|
38
|
+
"@vibest/platform-bun": "0.0.2-beta.4",
|
|
39
|
+
"@vibest/plugin": "0.0.2-beta.4",
|
|
40
|
+
"@vibest/plugin-harnesses": "0.0.2-beta.4",
|
|
41
|
+
"@vibest/protocol": "0.0.2-beta.4",
|
|
42
|
+
"@vibest/runtime-herdr": "0.0.2-beta.4",
|
|
43
|
+
"@vibest/runtime-herdr-core": "0.0.2-beta.4",
|
|
44
|
+
"@vibest/schema": "0.0.2-beta.4",
|
|
45
|
+
"@vibest/server": "0.0.2-beta.4",
|
|
46
46
|
"effect": "4.0.2",
|
|
47
|
-
"effect-herdr-sdk": "0.0.2-beta.
|
|
47
|
+
"effect-herdr-sdk": "0.0.2-beta.4"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@vibest/cli-darwin-arm64": "0.0.2-beta.
|
|
51
|
-
"@vibest/cli-linux-x64": "0.0.2-beta.
|
|
50
|
+
"@vibest/cli-darwin-arm64": "0.0.2-beta.4",
|
|
51
|
+
"@vibest/cli-linux-x64": "0.0.2-beta.4"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "bun scripts/build.ts && bun scripts/build-harnesses.ts",
|